Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0106/0.0106, allocations: 102.3 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.001847/0.001847, allocations: 189.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.424/0.424, allocations: 54.94 MB / 324.8 MB, free: 4 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 69.27 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1521, allocations: 59.59 MB / 0.5037 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.003334/0.1555, allocations: 1.74 MB / 0.5054 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.157, allocations: 0.9411 MB / 0.5063 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.834e-05/0.1571, allocations: 5.312 kB / 0.5063 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.1578, allocations: 161.2 kB / 0.5065 GB, free: 7.605 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.1582, allocations: 119.3 kB / 0.5066 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1586, allocations: 141.4 kB / 0.5067 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.1589, allocations: 168.3 kB / 0.5069 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.159, allocations: 20.11 kB / 0.5069 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1591, allocations: 71.19 kB / 0.507 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1593, allocations: 77.94 kB / 0.5071 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1593, allocations: 8.25 kB / 0.5071 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1595, allocations: 63.7 kB / 0.5071 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.1596, allocations: 39.03 kB / 0.5072 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/0.1596, allocations: 59.92 kB / 0.5072 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.16, allocations: 200.1 kB / 0.5074 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.16, allocations: 0 / 0.5074 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.16, allocations: 0 / 0.5074 GB, free: 7.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.16, allocations: 0 / 0.5074 GB, free: 7.004 MB / 382.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.0007829/0.1608, allocations: 0.4959 MB / 0.5079 GB, free: 6.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1608, allocations: 9.781 kB / 0.5079 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.1609, allocations: 16.44 kB / 0.5079 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.1612, allocations: 251 kB / 0.5082 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1613, allocations: 10.97 kB / 0.5082 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1613, allocations: 3.188 kB / 0.5082 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.1615, allocations: 83.53 kB / 0.5083 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1616, allocations: 7.938 kB / 0.5083 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1616, allocations: 5.906 kB / 0.5083 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.1616, allocations: 1.656 kB / 0.5083 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1618, allocations: 39 kB / 0.5083 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.1624, allocations: 352.2 kB / 0.5086 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1626, allocations: 74.67 kB / 0.5087 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.1627, allocations: 40.5 kB / 0.5087 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1627, allocations: 1.062 kB / 0.5087 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.1629, allocations: 81.02 kB / 0.5088 GB, free: 5.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.1629, allocations: 0 / 0.5088 GB, free: 5.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003546/0.1633, allocations: 145.4 kB / 0.509 GB, free: 5.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1633, allocations: 85.05 kB / 0.509 GB, free: 5.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.1635, allocations: 263.1 kB / 0.5093 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1636, allocations: 25.7 kB / 0.5093 GB, free: 5.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.1636, allocations: 116.1 kB / 0.5094 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.1637, allocations: 23.64 kB / 0.5095 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1637, allocations: 33.7 kB / 0.5095 GB, free: 4.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.1638, allocations: 326.8 kB / 0.5098 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.1639, allocations: 31.92 kB / 0.5098 GB, free: 4.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.1639, allocations: 59.64 kB / 0.5099 GB, free: 4.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1641, allocations: 77.72 kB / 0.51 GB, free: 4.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1641, allocations: 0 / 0.51 GB, free: 4.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001643/0.1642, allocations: 113.4 kB / 0.5101 GB, free: 4.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1643, allocations: 11.98 kB / 0.5101 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1643, allocations: 0 / 0.5101 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.1643, allocations: 4.062 kB / 0.5101 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.1644, allocations: 19.86 kB / 0.5101 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1644, allocations: 4 kB / 0.5101 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.1645, allocations: 8 kB / 0.5101 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1645, allocations: 4.094 kB / 0.5101 GB, free: 4.207 MB / 382.1 MB 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.0001271/0.1646, allocations: 145.8 kB / 0.5103 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1647, allocations: 11.81 kB / 0.5103 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.1647, allocations: 17.41 kB / 0.5103 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.1647, allocations: 15.92 kB / 0.5103 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1647, allocations: 0 / 0.5103 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1647, allocations: 0 / 0.5103 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1649, allocations: 221.5 kB / 0.5105 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1649, allocations: 0 / 0.5105 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.1649, allocations: 4 kB / 0.5105 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.165, allocations: 7.938 kB / 0.5105 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.165, allocations: 4 kB / 0.5105 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.165, allocations: 3.938 kB / 0.5105 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.165, allocations: 0 / 0.5105 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1652, allocations: 144.8 kB / 0.5107 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1652, allocations: 92.86 kB / 0.5108 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.1653, allocations: 8 kB / 0.5108 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-05/0.1653, allocations: 11.91 kB / 0.5108 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.1654, allocations: 7.938 kB / 0.5108 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1654, allocations: 4 kB / 0.5108 GB, free: 3.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1656, allocations: 200.4 kB / 0.511 GB, free: 3.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1656, allocations: 0 / 0.511 GB, free: 3.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1658, allocations: 32 kB / 0.511 GB, free: 3.195 MB / 382.1 MB 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.001022/0.1668, allocations: 417.2 kB / 0.5114 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.1671, allocations: 79.89 kB / 0.5115 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1671, allocations: 0 / 0.5115 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.1672, allocations: 35.98 kB / 0.5115 GB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1675, allocations: 47.95 kB / 0.5116 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.168, allocations: 295 kB / 0.5118 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.1682, allocations: 0.7201 MB / 0.5125 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.514e-05/0.1683, allocations: 25.7 kB / 0.5126 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1683, allocations: 23.44 kB / 0.5126 GB, free: 1.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1683, allocations: 0 / 0.5126 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Templates: time 0.005976/0.1743, allocations: 2.291 MB / 0.5148 GB, free: 15.4 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)