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: translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001561/0.001561, allocations: 106.5 kB / 16.41 MB, free: 6.516 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.001275/0.001275, allocations: 183 kB / 17.34 MB, free: 5.734 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8403/0.8403, allocations: 135.2 MB / 426.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 73.48 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1501, allocations: 80.92 MB / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003213/0.1533, allocations: 1.782 MB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1551, allocations: 1.03 MB / 0.6681 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.1552, allocations: 0 / 0.6681 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.1558, allocations: 163.5 kB / 0.6683 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.1561, allocations: 111.6 kB / 0.6684 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.1566, allocations: 167.2 kB / 0.6685 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1568, allocations: 167.6 kB / 0.6687 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1569, allocations: 24.86 kB / 0.6687 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1571, allocations: 71.69 kB / 0.6688 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1572, allocations: 71.69 kB / 0.6688 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1572, allocations: 8 kB / 0.6689 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1573, allocations: 55.95 kB / 0.6689 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-05/0.1574, allocations: 43.84 kB / 0.6689 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.547e-05/0.1575, allocations: 59.61 kB / 0.669 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.1578, allocations: 207.1 kB / 0.6692 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1578, allocations: 0 / 0.6692 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1578, allocations: 4 kB / 0.6692 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1578, allocations: 0 / 0.6692 GB, free: 1.793 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.0007509/0.1586, allocations: 0.4883 MB / 0.6697 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1586, allocations: 9.109 kB / 0.6697 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.1587, allocations: 24.8 kB / 0.6697 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.159, allocations: 253 kB / 0.67 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.159, allocations: 4.375 kB / 0.67 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.159, allocations: 12.11 kB / 0.67 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.1592, allocations: 91.38 kB / 0.6701 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1592, allocations: 0 / 0.6701 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1592, allocations: 0 / 0.6701 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.1593, allocations: 7.938 kB / 0.6701 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1594, allocations: 35.92 kB / 0.6701 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.1599, allocations: 352.7 kB / 0.6704 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.1601, allocations: 74.61 kB / 0.6705 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.1602, allocations: 28.84 kB / 0.6705 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1602, allocations: 4 kB / 0.6705 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.1604, allocations: 79.38 kB / 0.6706 GB, free: 172 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1604, allocations: 0 / 0.6706 GB, free: 172 kB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003614/0.1607, allocations: 149.5 kB / 0.6708 GB, free: 16 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.1608, allocations: 81.09 kB / 0.6708 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.1611, allocations: 262.7 kB / 0.6711 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1611, allocations: 33.7 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/0.1612, allocations: 120 kB / 0.6712 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1613, allocations: 19.8 kB / 0.6713 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.1613, allocations: 29.7 kB / 0.6713 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1615, allocations: 330.8 kB / 0.6716 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.1615, allocations: 32.09 kB / 0.6716 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1616, allocations: 67.28 kB / 0.6717 GB, free: 15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1618, allocations: 66.08 kB / 0.6718 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1618, allocations: 0 / 0.6718 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002271/0.162, allocations: 129.4 kB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.162, allocations: 9.938 kB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.162, allocations: 0 / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.162, allocations: 0 / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.1621, allocations: 19.92 kB / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.1621, allocations: 0 / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.1622, allocations: 11.94 kB / 0.6719 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1622, allocations: 4 kB / 0.6719 GB, free: 14.75 MB / 0.5137 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.0001357/0.1623, allocations: 139.2 kB / 0.6721 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1624, allocations: 19.91 kB / 0.6721 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.1624, allocations: 17.39 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.1624, allocations: 4 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1624, allocations: 0 / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1624, allocations: 3.938 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1627, allocations: 229.5 kB / 0.6723 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1627, allocations: 4 kB / 0.6723 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.1627, allocations: 7.984 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1627, allocations: 0 / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1627, allocations: 0 / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1627, allocations: 4 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1627, allocations: 3.938 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.163, allocations: 144.9 kB / 0.6725 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.163, allocations: 93 kB / 0.6726 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1631, allocations: 4 kB / 0.6726 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.1631, allocations: 4 kB / 0.6726 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1631, allocations: 7.984 kB / 0.6726 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1632, allocations: 3.938 kB / 0.6726 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002113/0.1634, allocations: 204.5 kB / 0.6728 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1634, allocations: 0 / 0.6728 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00025/0.1636, allocations: 35.86 kB / 0.6728 GB, free: 13.74 MB / 0.5137 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.001546/0.1652, allocations: 417.9 kB / 0.6732 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1654, allocations: 71.89 kB / 0.6733 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1654, allocations: 4.062 kB / 0.6733 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.1655, allocations: 31.98 kB / 0.6733 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1658, allocations: 44.64 kB / 0.6734 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/0.1664, allocations: 332.6 kB / 0.6737 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1667, allocations: 0.7201 MB / 0.6744 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.1668, allocations: 23.42 kB / 0.6744 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.1668, allocations: 4 kB / 0.6744 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.004946/0.1717, allocations: 2.568 MB / 0.6769 GB, free: 9.656 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)