Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_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.007176/0.007176, allocations: 97.38 kB / 15.73 MB, free: 6.039 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.001833/0.001833, allocations: 201.3 kB / 16.68 MB, free: 5.961 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7539/0.7539, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 64.16 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1522, allocations: 80.21 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.0033/0.1556, allocations: 1.772 MB / 0.6609 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1573, allocations: 1.026 MB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1575, allocations: 7.938 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.1581, allocations: 167.5 kB / 0.6621 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.1584, allocations: 111.6 kB / 0.6622 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.1589, allocations: 164.6 kB / 0.6624 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1591, allocations: 179.6 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1593, allocations: 21.09 kB / 0.6626 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1594, allocations: 71.69 kB / 0.6626 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1595, allocations: 67.77 kB / 0.6627 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1595, allocations: 8 kB / 0.6627 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.1597, allocations: 59.89 kB / 0.6628 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.1598, allocations: 39.84 kB / 0.6628 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.1599, allocations: 67.59 kB / 0.6629 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.1602, allocations: 211.4 kB / 0.6631 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1602, allocations: 0 / 0.6631 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1602, allocations: 0 / 0.6631 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1602, allocations: 0 / 0.6631 GB, free: 10.06 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.0007896/0.161, allocations: 0.4922 MB / 0.6635 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1611, allocations: 8.031 kB / 0.6635 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.1611, allocations: 38.75 kB / 0.6636 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.1612, allocations: 12.84 kB / 0.6636 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1615, allocations: 257.5 kB / 0.6638 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1615, allocations: 8.375 kB / 0.6638 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1616, allocations: 7.938 kB / 0.6639 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.1618, allocations: 87.38 kB / 0.6639 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1618, allocations: 0 / 0.6639 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1618, allocations: 0 / 0.6639 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.1618, allocations: 4 kB / 0.6639 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1619, allocations: 35.92 kB / 0.664 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.1625, allocations: 356.7 kB / 0.6643 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1627, allocations: 82.61 kB / 0.6644 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.1628, allocations: 28.86 kB / 0.6644 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1628, allocations: 3.984 kB / 0.6644 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.163, allocations: 83.39 kB / 0.6645 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.163, allocations: 0 / 0.6645 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003573/0.1634, allocations: 145.5 kB / 0.6646 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.1635, allocations: 81.11 kB / 0.6647 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.1637, allocations: 266.7 kB / 0.665 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1638, allocations: 29.7 kB / 0.665 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.1639, allocations: 116.1 kB / 0.6651 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1639, allocations: 28.06 kB / 0.6651 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.164, allocations: 29.7 kB / 0.6652 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1641, allocations: 326.8 kB / 0.6655 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.1642, allocations: 31.92 kB / 0.6655 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.722e-05/0.1643, allocations: 67.34 kB / 0.6656 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1644, allocations: 65.7 kB / 0.6656 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.1644, allocations: 4.141 kB / 0.6656 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000215/0.1647, allocations: 125.4 kB / 0.6658 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1647, allocations: 4 kB / 0.6658 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1647, allocations: 0 / 0.6658 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1647, allocations: 4 kB / 0.6658 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.1648, allocations: 11.94 kB / 0.6658 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1648, allocations: 3.984 kB / 0.6658 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.1649, allocations: 7.938 kB / 0.6658 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1649, allocations: 4 kB / 0.6658 GB, free: 6.973 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.0001335/0.165, allocations: 146.5 kB / 0.6659 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.1651, allocations: 15.91 kB / 0.666 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.1651, allocations: 21.39 kB / 0.666 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.1651, allocations: 4 kB / 0.666 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1651, allocations: 0 / 0.666 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1651, allocations: 3.938 kB / 0.666 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.1654, allocations: 229.5 kB / 0.6662 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1654, allocations: 0 / 0.6662 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.1654, allocations: 8 kB / 0.6662 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1654, allocations: 0 / 0.6662 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1654, allocations: 3.984 kB / 0.6662 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1654, allocations: 0 / 0.6662 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1654, allocations: 0 / 0.6662 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1657, allocations: 152.9 kB / 0.6664 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.1658, allocations: 96.98 kB / 0.6665 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1658, allocations: 4 kB / 0.6665 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.1658, allocations: 8 kB / 0.6665 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1659, allocations: 15.92 kB / 0.6665 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1659, allocations: 0 / 0.6665 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001966/0.1661, allocations: 192.6 kB / 0.6667 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1661, allocations: 0 / 0.6667 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002354/0.1664, allocations: 31.92 kB / 0.6667 GB, free: 5.961 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.001837/0.1682, allocations: 1.003 MB / 0.6677 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1684, allocations: 75.91 kB / 0.6677 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1685, allocations: 0 / 0.6677 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.1685, allocations: 35.92 kB / 0.6678 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.1689, allocations: 49.56 kB / 0.6678 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.1712, allocations: 1.948 MB / 0.6697 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1715, allocations: 0.7279 MB / 0.6704 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.635e-05/0.1716, allocations: 29.66 kB / 0.6705 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.1717, allocations: 43.42 kB / 0.6705 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1717, allocations: 0 / 0.6705 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1792/0.3509, allocations: 4.511 MB / 0.6749 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.857, allocations: 0 / 0.6749 GB, free: 13.74 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)