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.001299/0.001299, allocations: 105.2 kB / 16.41 MB, free: 6.449 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: 189.6 kB / 17.34 MB, free: 5.746 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7715/0.7715, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 70 kB / 0.582 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1365, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003266/0.1398, allocations: 1.78 MB / 0.6621 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1415, allocations: 1.026 MB / 0.6631 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1417, allocations: 4 kB / 0.6631 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006343/0.1423, allocations: 170.9 kB / 0.6632 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.1427, allocations: 107.6 kB / 0.6633 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.1432, allocations: 178.7 kB / 0.6635 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1434, allocations: 163.6 kB / 0.6637 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1435, allocations: 21.11 kB / 0.6637 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1437, allocations: 75.69 kB / 0.6638 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1438, allocations: 63.75 kB / 0.6638 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1438, allocations: 8 kB / 0.6638 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.144, allocations: 63.91 kB / 0.6639 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.1441, allocations: 43.84 kB / 0.6639 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.1442, allocations: 71.59 kB / 0.664 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.1445, allocations: 195.4 kB / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1445, allocations: 0 / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1445, allocations: 0 / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1445, allocations: 0 / 0.6642 GB, free: 6.297 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.000819/0.1454, allocations: 0.4885 MB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1454, allocations: 8.031 kB / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.1455, allocations: 16.75 kB / 0.6647 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.1458, allocations: 248.8 kB / 0.6649 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1458, allocations: 4.375 kB / 0.6649 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1458, allocations: 8.125 kB / 0.6649 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.146, allocations: 91.31 kB / 0.665 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1461, allocations: 0 / 0.665 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1461, allocations: 0 / 0.665 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.1461, allocations: 4 kB / 0.665 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1462, allocations: 35.97 kB / 0.6651 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.1468, allocations: 360.6 kB / 0.6654 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.147, allocations: 70.67 kB / 0.6655 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/0.1471, allocations: 40.84 kB / 0.6655 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1471, allocations: 3.938 kB / 0.6655 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.1473, allocations: 87.31 kB / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1473, allocations: 0 / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003727/0.1477, allocations: 141.4 kB / 0.6657 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.1477, allocations: 77.11 kB / 0.6658 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.148, allocations: 266.8 kB / 0.6661 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.148, allocations: 25.7 kB / 0.6661 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.1481, allocations: 120 kB / 0.6662 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1482, allocations: 31.62 kB / 0.6662 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1482, allocations: 29.72 kB / 0.6663 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1484, allocations: 334.8 kB / 0.6666 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.1484, allocations: 27.98 kB / 0.6666 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.1485, allocations: 55.42 kB / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1487, allocations: 73.64 kB / 0.6667 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1487, allocations: 4.141 kB / 0.6667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002187/0.1489, allocations: 121.7 kB / 0.6668 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1489, allocations: 4 kB / 0.6669 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1489, allocations: 4 kB / 0.6669 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1489, allocations: 7.922 kB / 0.6669 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/0.149, allocations: 8 kB / 0.6669 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.149, allocations: 0 / 0.6669 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.483e-05/0.1491, allocations: 7.938 kB / 0.6669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1491, allocations: 4 kB / 0.6669 GB, free: 3.266 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.0001413/0.1493, allocations: 158.2 kB / 0.667 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1493, allocations: 15.81 kB / 0.667 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.1494, allocations: 17.41 kB / 0.6671 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.1494, allocations: 4 kB / 0.6671 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1494, allocations: 0 / 0.6671 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1494, allocations: 7.922 kB / 0.6671 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1496, allocations: 225.5 kB / 0.6673 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1496, allocations: 0 / 0.6673 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.1496, allocations: 8 kB / 0.6673 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1497, allocations: 0 / 0.6673 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1497, allocations: 4 kB / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1497, allocations: 160 / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1497, allocations: 0 / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1499, allocations: 148.8 kB / 0.6674 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.15, allocations: 92.92 kB / 0.6675 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.15, allocations: 4 kB / 0.6675 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.1501, allocations: 7.984 kB / 0.6675 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1501, allocations: 4 kB / 0.6675 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1501, allocations: 11.94 kB / 0.6676 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001803/0.1503, allocations: 191.2 kB / 0.6677 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1503, allocations: 0 / 0.6677 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002483/0.1506, allocations: 28 kB / 0.6678 GB, free: 2.258 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.001023/0.1516, allocations: 422.2 kB / 0.6682 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.1519, allocations: 83.91 kB / 0.6683 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1519, allocations: 0 / 0.6683 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.152, allocations: 35.98 kB / 0.6683 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1523, allocations: 33.84 kB / 0.6683 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.1529, allocations: 336.6 kB / 0.6686 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1532, allocations: 0.728 MB / 0.6694 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.1533, allocations: 19.44 kB / 0.6694 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1533, allocations: 0 / 0.6694 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of Templates: time 0.005046/0.1583, allocations: 2.582 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)