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: translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001478/0.001479, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001703/0.001703, allocations: 187 kB / 17.34 MB, free: 5.742 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7882/0.7882, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.16 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.149, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003111/0.1521, allocations: 1.774 MB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1538, allocations: 1.026 MB / 0.6631 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.1539, allocations: 0 / 0.6631 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.1545, allocations: 170.4 kB / 0.6632 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.1548, allocations: 115.6 kB / 0.6633 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.1553, allocations: 170.8 kB / 0.6635 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1555, allocations: 167.6 kB / 0.6637 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1557, allocations: 25.05 kB / 0.6637 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1558, allocations: 63.77 kB / 0.6638 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1559, allocations: 75.69 kB / 0.6638 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1559, allocations: 8 kB / 0.6638 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1561, allocations: 63.95 kB / 0.6639 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.1562, allocations: 43.84 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.1562, allocations: 59.55 kB / 0.664 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1565, allocations: 199.4 kB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1565, allocations: 4 kB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1565, allocations: 0 / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.1565, allocations: 0 / 0.6642 GB, free: 6.273 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.0006863/0.1572, allocations: 0.4886 MB / 0.6647 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1573, allocations: 8.031 kB / 0.6647 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.1573, allocations: 16.75 kB / 0.6647 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1576, allocations: 252.8 kB / 0.6649 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1576, allocations: 4.375 kB / 0.6649 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1577, allocations: 8.125 kB / 0.6649 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1579, allocations: 83.38 kB / 0.665 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1579, allocations: 3.938 kB / 0.665 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1579, allocations: 8 kB / 0.665 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.1579, allocations: 4 kB / 0.665 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.936e-05/0.158, allocations: 35.97 kB / 0.6651 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.1585, allocations: 348.7 kB / 0.6654 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1587, allocations: 74.61 kB / 0.6655 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/0.1588, allocations: 44.84 kB / 0.6655 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1588, allocations: 3.938 kB / 0.6655 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.1589, allocations: 79.38 kB / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.159, allocations: 0 / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003342/0.1593, allocations: 145.4 kB / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1593, allocations: 77.11 kB / 0.6658 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1596, allocations: 270.8 kB / 0.6661 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1596, allocations: 25.7 kB / 0.6661 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.1597, allocations: 124 kB / 0.6662 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1598, allocations: 19.66 kB / 0.6662 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.1598, allocations: 33.69 kB / 0.6663 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.16, allocations: 334.8 kB / 0.6666 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/0.1601, allocations: 27.92 kB / 0.6666 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1602, allocations: 59.42 kB / 0.6667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1605, allocations: 77.73 kB / 0.6667 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1605, allocations: 0 / 0.6667 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003128/0.1608, allocations: 113.8 kB / 0.6668 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1608, allocations: 4 kB / 0.6668 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1608, allocations: 4 kB / 0.6669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1609, allocations: 3.938 kB / 0.6669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.161, allocations: 19.98 kB / 0.6669 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.161, allocations: 0 / 0.6669 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1611, allocations: 15.92 kB / 0.6669 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1612, allocations: 4 kB / 0.6669 GB, free: 3.23 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.0001669/0.1613, allocations: 146.2 kB / 0.667 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1614, allocations: 15.81 kB / 0.667 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.1614, allocations: 17.41 kB / 0.6671 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.1614, allocations: 7.984 kB / 0.6671 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1614, allocations: 4 kB / 0.6671 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1615, allocations: 3.938 kB / 0.6671 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.1617, allocations: 221.5 kB / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1617, allocations: 0 / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.1617, allocations: 4 kB / 0.6673 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1617, allocations: 3.938 kB / 0.6673 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1617, allocations: 0 / 0.6673 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1617, allocations: 4 kB / 0.6673 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1617, allocations: 0 / 0.6673 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.162, allocations: 148.8 kB / 0.6674 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.162, allocations: 88.92 kB / 0.6675 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1621, allocations: 8 kB / 0.6675 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.1621, allocations: 3.984 kB / 0.6675 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1622, allocations: 11.94 kB / 0.6676 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1622, allocations: 11.92 kB / 0.6676 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001666/0.1624, allocations: 191.2 kB / 0.6677 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1624, allocations: 0 / 0.6677 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002488/0.1626, allocations: 32 kB / 0.6678 GB, free: 2.227 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.0009445/0.1636, allocations: 417.9 kB / 0.6682 GB, free: 2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.1638, allocations: 79.91 kB / 0.6683 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1638, allocations: 0 / 0.6683 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.1639, allocations: 35.98 kB / 0.6683 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.1642, allocations: 39.02 kB / 0.6683 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.1647, allocations: 328.7 kB / 0.6686 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.165, allocations: 0.724 MB / 0.6693 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.165, allocations: 15.44 kB / 0.6694 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.165, allocations: 0 / 0.6694 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of Templates: time 0.004501/0.1695, allocations: 2.571 MB / 0.6719 GB, free: 14.18 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)