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.007173/0.007173, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.00167/0.00167, allocations: 191.4 kB / 16.67 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4663, allocations: 80.91 MB / 0.6646 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.00273/0.469, allocations: 1.784 MB / 0.6664 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.4706, allocations: 1.021 MB / 0.6674 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9e-05/0.4707, allocations: 1.531 kB / 0.6674 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.4713, allocations: 165.8 kB / 0.6675 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.4716, allocations: 112.5 kB / 0.6677 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.472, allocations: 174 kB / 0.6678 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.4722, allocations: 164.4 kB / 0.668 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.4723, allocations: 28.17 kB / 0.668 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.4724, allocations: 68.36 kB / 0.6681 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.684e-05/0.4725, allocations: 68.42 kB / 0.6681 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.4725, allocations: 8.094 kB / 0.6681 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4727, allocations: 72.27 kB / 0.6682 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.4727, allocations: 43.53 kB / 0.6683 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.4728, allocations: 59.7 kB / 0.6683 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.4731, allocations: 197.4 kB / 0.6685 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4731, allocations: 0 / 0.6685 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4731, allocations: 1.625 kB / 0.6685 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.4731, allocations: 0 / 0.6685 GB, free: 4.922 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.0005799/0.4737, allocations: 0.4912 MB / 0.669 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.4737, allocations: 9.562 kB / 0.669 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.4738, allocations: 20.28 kB / 0.669 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.474, allocations: 244.1 kB / 0.6692 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4741, allocations: 2.281 kB / 0.6692 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.4741, allocations: 6.812 kB / 0.6693 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.4743, allocations: 92.16 kB / 0.6693 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4743, allocations: 0 / 0.6693 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4743, allocations: 1.5 kB / 0.6693 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.4743, allocations: 6.734 kB / 0.6693 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.263e-05/0.4744, allocations: 35.08 kB / 0.6694 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.4748, allocations: 358.7 kB / 0.6697 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.475, allocations: 75.08 kB / 0.6698 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.4751, allocations: 29.58 kB / 0.6698 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4751, allocations: 13.12 kB / 0.6698 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.4753, allocations: 84.14 kB / 0.6699 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.4753, allocations: 1.219 kB / 0.6699 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003243/0.4756, allocations: 136.3 kB / 0.67 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.4757, allocations: 82.55 kB / 0.6701 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.4759, allocations: 268.2 kB / 0.6704 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.4759, allocations: 26.89 kB / 0.6704 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.476, allocations: 123.8 kB / 0.6705 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.476, allocations: 15.56 kB / 0.6705 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.4761, allocations: 26.8 kB / 0.6706 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.4761, allocations: 331.8 kB / 0.6709 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.4762, allocations: 31.31 kB / 0.6709 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.4763, allocations: 60.97 kB / 0.671 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4764, allocations: 80.25 kB / 0.671 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4764, allocations: 1.562 kB / 0.671 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001844/0.4766, allocations: 114.8 kB / 0.6712 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4766, allocations: 5.188 kB / 0.6712 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4766, allocations: 384 / 0.6712 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4766, allocations: 1.188 kB / 0.6712 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.4767, allocations: 9.125 kB / 0.6712 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4767, allocations: 5.141 kB / 0.6712 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.4768, allocations: 23.66 kB / 0.6712 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4768, allocations: 6.75 kB / 0.6712 GB, free: 2.469 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 9.616e-05/0.4769, allocations: 141.2 kB / 0.6713 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.477, allocations: 14.97 kB / 0.6714 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.477, allocations: 22.8 kB / 0.6714 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.477, allocations: 3.125 kB / 0.6714 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.477, allocations: 0 / 0.6714 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.477, allocations: 5.156 kB / 0.6714 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4772, allocations: 222.7 kB / 0.6716 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4772, allocations: 0 / 0.6716 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.4772, allocations: 4 kB / 0.6716 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4772, allocations: 0 / 0.6716 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.4772, allocations: 5.422 kB / 0.6716 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4772, allocations: 1.438 kB / 0.6716 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4772, allocations: 0 / 0.6716 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.4775, allocations: 153.8 kB / 0.6718 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.4775, allocations: 102.3 kB / 0.6719 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.4775, allocations: 1.094 kB / 0.6719 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.4776, allocations: 2.188 kB / 0.6719 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.4776, allocations: 12.11 kB / 0.6719 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.4776, allocations: 10.34 kB / 0.6719 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001591/0.4778, allocations: 190.2 kB / 0.6721 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4778, allocations: 0 / 0.6721 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002452/0.4781, allocations: 34.17 kB / 0.6721 GB, free: 1.688 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.000935/0.479, allocations: 424.4 kB / 0.6725 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.4792, allocations: 74.45 kB / 0.6726 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4793, allocations: 1.344 kB / 0.6726 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.4793, allocations: 38.23 kB / 0.6726 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.4796, allocations: 35.31 kB / 0.6726 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.4802, allocations: 299.5 kB / 0.6729 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.4803, allocations: 0.7272 MB / 0.6736 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.847e-05/0.4804, allocations: 22.75 kB / 0.6737 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.4804, allocations: 16.06 kB / 0.6737 GB, free: 480 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4804, allocations: 0 / 0.6737 GB, free: 480 kB / 0.4981 GB Notification: Performance of Templates: time 0.005408/0.4859, allocations: 2.304 MB / 0.6759 GB, free: 15.31 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)