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.001144/0.001143, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001147/0.001147, allocations: 187 kB / 17.34 MB, free: 5.754 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.774/0.774, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.56 kB / 0.5863 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 80.94 MB / 0.6653 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003062/0.1472, allocations: 1.767 MB / 0.667 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1489, allocations: 1.033 MB / 0.668 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.149, allocations: 0 / 0.668 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.1497, allocations: 167.5 kB / 0.6682 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1499, allocations: 111.6 kB / 0.6683 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.1504, allocations: 171 kB / 0.6685 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1506, allocations: 167.6 kB / 0.6686 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1507, allocations: 28.84 kB / 0.6687 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1508, allocations: 67.7 kB / 0.6687 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.151, allocations: 71.75 kB / 0.6688 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.151, allocations: 8 kB / 0.6688 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1511, allocations: 67.89 kB / 0.6689 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.1512, allocations: 43.84 kB / 0.6689 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.1513, allocations: 55.61 kB / 0.669 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1516, allocations: 199.4 kB / 0.6691 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1516, allocations: 0 / 0.6691 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1516, allocations: 0 / 0.6691 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.016e-06/0.1516, allocations: 0 / 0.6691 GB, free: 1.949 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.0006908/0.1523, allocations: 0.4946 MB / 0.6696 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1523, allocations: 9.109 kB / 0.6696 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.1524, allocations: 16.75 kB / 0.6697 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1527, allocations: 244.9 kB / 0.6699 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1527, allocations: 8.375 kB / 0.6699 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1527, allocations: 8.062 kB / 0.6699 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1529, allocations: 91.31 kB / 0.67 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1529, allocations: 4 kB / 0.67 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1529, allocations: 4 kB / 0.67 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.153, allocations: 4 kB / 0.67 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.273e-05/0.1531, allocations: 31.97 kB / 0.67 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1535, allocations: 352.6 kB / 0.6704 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1537, allocations: 70.67 kB / 0.6704 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.1538, allocations: 40.84 kB / 0.6705 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1538, allocations: 0 / 0.6705 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.154, allocations: 95.23 kB / 0.6706 GB, free: 324 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 3.516e-06/0.154, allocations: 3.984 kB / 0.6706 GB, free: 320 kB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003207/0.1543, allocations: 145.4 kB / 0.6707 GB, free: 168 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1544, allocations: 77.11 kB / 0.6708 GB, free: 72 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.1547, allocations: 262.8 kB / 0.671 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1547, allocations: 33.7 kB / 0.6711 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.1548, allocations: 120 kB / 0.6712 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1548, allocations: 19.73 kB / 0.6712 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.1549, allocations: 29.7 kB / 0.6712 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.155, allocations: 330.8 kB / 0.6715 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.155, allocations: 27.98 kB / 0.6716 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-05/0.1551, allocations: 55.42 kB / 0.6716 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1553, allocations: 77.62 kB / 0.6717 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1553, allocations: 0 / 0.6717 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001904/0.1555, allocations: 121.5 kB / 0.6718 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1555, allocations: 7.984 kB / 0.6718 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1555, allocations: 0 / 0.6718 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1555, allocations: 4.438 kB / 0.6718 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-05/0.1556, allocations: 12 kB / 0.6718 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1556, allocations: 0 / 0.6718 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.1557, allocations: 15.84 kB / 0.6719 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1557, allocations: 3.938 kB / 0.6719 GB, free: 14.91 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.0001189/0.1558, allocations: 155 kB / 0.672 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1559, allocations: 15.81 kB / 0.672 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.1559, allocations: 13.41 kB / 0.672 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.1559, allocations: 11.98 kB / 0.672 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1559, allocations: 0 / 0.672 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1559, allocations: 3.938 kB / 0.672 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1561, allocations: 221.6 kB / 0.6723 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1561, allocations: 0 / 0.6723 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.1562, allocations: 4 kB / 0.6723 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1562, allocations: 0 / 0.6723 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1562, allocations: 0 / 0.6723 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1562, allocations: 0 / 0.6723 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1562, allocations: 0 / 0.6723 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1564, allocations: 156.8 kB / 0.6724 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.1565, allocations: 88.92 kB / 0.6725 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1565, allocations: 4 kB / 0.6725 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.1566, allocations: 7.984 kB / 0.6725 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1566, allocations: 8 kB / 0.6725 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1566, allocations: 3.938 kB / 0.6725 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001806/0.1568, allocations: 196.6 kB / 0.6727 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1568, allocations: 4 kB / 0.6727 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000246/0.1571, allocations: 31.91 kB / 0.6727 GB, free: 13.91 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.0009711/0.1581, allocations: 417.9 kB / 0.6731 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1583, allocations: 79.89 kB / 0.6732 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1583, allocations: 0 / 0.6732 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.1584, allocations: 35.92 kB / 0.6733 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1587, allocations: 42.7 kB / 0.6733 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.1593, allocations: 332.7 kB / 0.6736 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1596, allocations: 0.724 MB / 0.6743 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.1596, allocations: 19.44 kB / 0.6743 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1597, allocations: 0 / 0.6743 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.004514/0.1642, allocations: 2.582 MB / 0.6769 GB, free: 9.801 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)