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.0008318/0.0008318, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008476/0.0008476, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 12.72 kB / 0.5069 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 82.31 MB / 0.5873 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002048/0.153, allocations: 1.454 MB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1544, allocations: 0.9113 MB / 0.5896 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.1545, allocations: 4 kB / 0.5896 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.1551, allocations: 139.6 kB / 0.5897 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1553, allocations: 91.75 kB / 0.5898 GB, free: 480 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.1558, allocations: 148.6 kB / 0.59 GB, free: 336 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.156, allocations: 103.8 kB / 0.5901 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1561, allocations: 21.09 kB / 0.5901 GB, free: 212 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.1562, allocations: 59.75 kB / 0.5901 GB, free: 152 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1564, allocations: 55.83 kB / 0.5902 GB, free: 96 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1564, allocations: 7.938 kB / 0.5902 GB, free: 88 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1565, allocations: 39.91 kB / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.1566, allocations: 31.91 kB / 0.5903 GB, free: 16 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.1567, allocations: 45.64 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1569, allocations: 144 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1569, allocations: 4 kB / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1569, allocations: 0 / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.1569, allocations: 0 / 0.5905 GB, free: 15.82 MB / 0.4981 GB 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.000762/0.1577, allocations: 484.1 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1577, allocations: 8.031 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.1578, allocations: 38.55 kB / 0.591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1579, allocations: 15.81 kB / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.1582, allocations: 243.6 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1582, allocations: 8 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1583, allocations: 8 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.1585, allocations: 94.48 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1585, allocations: 0 / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.1585, allocations: 7.922 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.1586, allocations: 4 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.868e-05/0.1587, allocations: 35.97 kB / 0.5914 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.1592, allocations: 352.7 kB / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1594, allocations: 74.66 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1594, allocations: 4 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.1596, allocations: 91.58 kB / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.1596, allocations: 3.938 kB / 0.5919 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003925/0.16, allocations: 222.5 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1601, allocations: 81.09 kB / 0.5921 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1604, allocations: 262.8 kB / 0.5924 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1604, allocations: 29.7 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.1605, allocations: 112.1 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1605, allocations: 35.62 kB / 0.5926 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.1606, allocations: 4 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1607, allocations: 326.8 kB / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.1608, allocations: 27.98 kB / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/0.1609, allocations: 55.42 kB / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.228e-05/0.161, allocations: 35.92 kB / 0.593 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.161, allocations: 4.031 kB / 0.593 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002054/0.1612, allocations: 117.7 kB / 0.5931 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1612, allocations: 4 kB / 0.5931 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1612, allocations: 0 / 0.5931 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1612, allocations: 0 / 0.5931 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.1613, allocations: 12 kB / 0.5931 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1613, allocations: 0 / 0.5931 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.1614, allocations: 15.94 kB / 0.5931 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1614, allocations: 4 kB / 0.5931 GB, free: 12.78 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.1616, allocations: 145 kB / 0.5933 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.1616, allocations: 19.72 kB / 0.5933 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.1617, allocations: 21.39 kB / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.1617, allocations: 0 / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1617, allocations: 0 / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1617, allocations: 0 / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.1619, allocations: 233.5 kB / 0.5935 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1619, allocations: 0 / 0.5935 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.162, allocations: 7.938 kB / 0.5936 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.162, allocations: 7.938 kB / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.162, allocations: 3.984 kB / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.162, allocations: 0 / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.162, allocations: 0 / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1622, allocations: 140.9 kB / 0.5937 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.1623, allocations: 100.8 kB / 0.5938 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1623, allocations: 4 kB / 0.5938 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.1624, allocations: 8 kB / 0.5938 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.1625, allocations: 11.98 kB / 0.5938 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1625, allocations: 4 kB / 0.5938 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001946/0.1627, allocations: 192.6 kB / 0.594 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1627, allocations: 0 / 0.594 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000255/0.1629, allocations: 28 kB / 0.594 GB, free: 11.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/0.1644, allocations: 0.9925 MB / 0.595 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.1646, allocations: 67.97 kB / 0.5951 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.1646, allocations: 4 kB / 0.5951 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.1647, allocations: 39.86 kB / 0.5951 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.165, allocations: 46.94 kB / 0.5952 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.1665, allocations: 1.107 MB / 0.5962 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1668, allocations: 0.7282 MB / 0.5969 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.1669, allocations: 37.62 kB / 0.597 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/0.167, allocations: 43.42 kB / 0.597 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.167, allocations: 0 / 0.597 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.1881, allocations: 3.931 MB / 0.6009 GB, free: 5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/0.1885, allocations: 224.4 kB / 0.6011 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.032, allocations: 0 / 0.6011 GB, free: 4.75 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/linux/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) Environment - environmentSimulation: