Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9069/0.9069, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.94 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1254, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002821/0.1283, allocations: 1.779 MB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1296, allocations: 1.014 MB / 0.5872 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.1297, allocations: 4 kB / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.1302, allocations: 163.5 kB / 0.5874 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.1305, allocations: 111.6 kB / 0.5875 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.1309, allocations: 166.7 kB / 0.5876 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.131, allocations: 167.6 kB / 0.5878 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.1312, allocations: 33.08 kB / 0.5878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.1313, allocations: 75.64 kB / 0.5879 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.1313, allocations: 63.75 kB / 0.5879 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1314, allocations: 8 kB / 0.588 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1315, allocations: 59.97 kB / 0.588 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.1316, allocations: 47.83 kB / 0.5881 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.1316, allocations: 59.61 kB / 0.5881 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1319, allocations: 199.7 kB / 0.5883 GB, free: 492 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1319, allocations: 7.938 kB / 0.5883 GB, free: 484 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1319, allocations: 0 / 0.5883 GB, free: 484 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1319, allocations: 0 / 0.5883 GB, free: 484 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005903/0.1325, allocations: 0.4885 MB / 0.5888 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1325, allocations: 8.031 kB / 0.5888 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.1326, allocations: 30.75 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1326, allocations: 16.75 kB / 0.5888 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1328, allocations: 252.7 kB / 0.5891 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1329, allocations: 8.375 kB / 0.5891 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1329, allocations: 11.92 kB / 0.5891 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.133, allocations: 87.33 kB / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1331, allocations: 0 / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1331, allocations: 4 kB / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.1331, allocations: 7.984 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.1332, allocations: 27.98 kB / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.1336, allocations: 348.8 kB / 0.5896 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1338, allocations: 74.61 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.1339, allocations: 32.84 kB / 0.5897 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1339, allocations: 4.109 kB / 0.5897 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.134, allocations: 87.31 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.134, allocations: 0 / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003074/0.1344, allocations: 149.4 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1344, allocations: 77.11 kB / 0.59 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.1346, allocations: 266.8 kB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1347, allocations: 33.7 kB / 0.5902 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.1347, allocations: 112.1 kB / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.1348, allocations: 23.66 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.1348, allocations: 37.92 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.1349, allocations: 326.8 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.135, allocations: 27.98 kB / 0.5908 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.1351, allocations: 59.36 kB / 0.5908 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1352, allocations: 77.72 kB / 0.5909 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1352, allocations: 0 / 0.5909 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001852/0.1354, allocations: 117.4 kB / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1354, allocations: 7.938 kB / 0.591 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1354, allocations: 0 / 0.591 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1354, allocations: 0 / 0.591 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.1355, allocations: 12 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1355, allocations: 0 / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.1356, allocations: 23.81 kB / 0.591 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1356, allocations: 7.984 kB / 0.591 GB, free: 13.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.1357, allocations: 143.2 kB / 0.5912 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1357, allocations: 15.81 kB / 0.5912 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.1358, allocations: 17.39 kB / 0.5912 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.1358, allocations: 4 kB / 0.5912 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1358, allocations: 0 / 0.5912 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1358, allocations: 3.938 kB / 0.5912 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.136, allocations: 221.5 kB / 0.5914 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.136, allocations: 3.938 kB / 0.5914 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.136, allocations: 15.94 kB / 0.5915 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.136, allocations: 0 / 0.5915 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.136, allocations: 0 / 0.5915 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.136, allocations: 0 / 0.5915 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.136, allocations: 3.984 kB / 0.5915 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.1362, allocations: 144.9 kB / 0.5916 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.1363, allocations: 88.92 kB / 0.5917 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1363, allocations: 7.984 kB / 0.5917 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.565e-05/0.1364, allocations: 11.94 kB / 0.5917 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.1364, allocations: 7.938 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1364, allocations: 7.969 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001622/0.1366, allocations: 196.6 kB / 0.5919 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1366, allocations: 0 / 0.5919 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000221/0.1368, allocations: 28 kB / 0.5919 GB, free: 12.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/0.1381, allocations: 0.9949 MB / 0.5929 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.1384, allocations: 75.84 kB / 0.593 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.1384, allocations: 4 kB / 0.593 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1385, allocations: 35.98 kB / 0.593 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1389, allocations: 41.28 kB / 0.593 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.1411, allocations: 1.954 MB / 0.595 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1413, allocations: 0.724 MB / 0.5957 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.813e-05/0.1414, allocations: 25.72 kB / 0.5957 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.1414, allocations: 47.42 kB / 0.5957 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1414, allocations: 4 kB / 0.5957 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.304/2.445, allocations: 4.411 MB / 0.6 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/15.32, allocations: 11.86 kB / 0.6001 GB, free: 4.207 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)