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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006622/0.006622, allocations: 98.77 kB / 15.73 MB, free: 6.047 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.001505/0.001505, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8399/0.8399, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 0.5814 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/0.5282, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003264/0.5315, allocations: 1.79 MB / 0.6614 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.5332, allocations: 1.018 MB / 0.6624 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.5334, allocations: 0 / 0.6624 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000721/0.5341, allocations: 174.4 kB / 0.6626 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.5345, allocations: 110.5 kB / 0.6627 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.535, allocations: 167.6 kB / 0.6629 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.5353, allocations: 167.8 kB / 0.663 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.5354, allocations: 32.62 kB / 0.663 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.5355, allocations: 70.78 kB / 0.6631 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.5356, allocations: 61.42 kB / 0.6632 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.5357, allocations: 7.5 kB / 0.6632 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.5359, allocations: 63.67 kB / 0.6632 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.5359, allocations: 47.69 kB / 0.6633 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.536, allocations: 64.81 kB / 0.6633 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.5363, allocations: 195.9 kB / 0.6635 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5364, allocations: 1.281 kB / 0.6635 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5364, allocations: 0 / 0.6635 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.5364, allocations: 4 kB / 0.6635 GB, free: 7.742 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.0007299/0.5371, allocations: 0.4917 MB / 0.664 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5372, allocations: 13.28 kB / 0.664 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.5372, allocations: 15.5 kB / 0.664 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.5375, allocations: 250.1 kB / 0.6643 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5375, allocations: 1.719 kB / 0.6643 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.5375, allocations: 7.469 kB / 0.6643 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.5377, allocations: 96.34 kB / 0.6644 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5378, allocations: 0 / 0.6644 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.5378, allocations: 1.094 kB / 0.6644 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.5378, allocations: 2.344 kB / 0.6644 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.5379, allocations: 35.17 kB / 0.6644 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.5384, allocations: 354.5 kB / 0.6648 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.5386, allocations: 80.08 kB / 0.6648 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.5387, allocations: 36.12 kB / 0.6649 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.5387, allocations: 1.219 kB / 0.6649 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.5389, allocations: 81.11 kB / 0.6649 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.5389, allocations: 0 / 0.6649 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003644/0.5392, allocations: 149.6 kB / 0.6651 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.5393, allocations: 86.39 kB / 0.6652 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.5396, allocations: 259.4 kB / 0.6654 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.5396, allocations: 27.02 kB / 0.6654 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.5397, allocations: 116.2 kB / 0.6656 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.5397, allocations: 28.17 kB / 0.6656 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.5397, allocations: 23.12 kB / 0.6656 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.5398, allocations: 336.3 kB / 0.6659 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.5399, allocations: 30.89 kB / 0.666 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.54, allocations: 67.22 kB / 0.666 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.5401, allocations: 68.95 kB / 0.6661 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5401, allocations: 4 kB / 0.6661 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001931/0.5403, allocations: 119.5 kB / 0.6662 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5403, allocations: 13.31 kB / 0.6662 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5403, allocations: 1.156 kB / 0.6662 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5404, allocations: 1.219 kB / 0.6662 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.5404, allocations: 13.23 kB / 0.6662 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5405, allocations: 0 / 0.6662 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.5405, allocations: 11.88 kB / 0.6662 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.5405, allocations: 2.375 kB / 0.6662 GB, free: 5.285 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.0001124/0.5407, allocations: 143.6 kB / 0.6664 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.5407, allocations: 24.05 kB / 0.6664 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.5407, allocations: 24 kB / 0.6664 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.5408, allocations: 5.531 kB / 0.6664 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5408, allocations: 5.312 kB / 0.6664 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5408, allocations: 3.938 kB / 0.6664 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.5409, allocations: 218.3 kB / 0.6666 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.541, allocations: 5.047 kB / 0.6667 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.541, allocations: 3.781 kB / 0.6667 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.541, allocations: 0 / 0.6667 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.541, allocations: 1.375 kB / 0.6667 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.541, allocations: 1.281 kB / 0.6667 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.541, allocations: 4 kB / 0.6667 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.5412, allocations: 150.8 kB / 0.6668 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.5413, allocations: 92.61 kB / 0.6669 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.5413, allocations: 2.562 kB / 0.6669 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.5414, allocations: 2.844 kB / 0.6669 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.5414, allocations: 9.484 kB / 0.6669 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.5414, allocations: 6.719 kB / 0.6669 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001623/0.5416, allocations: 194.8 kB / 0.6671 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5416, allocations: 3.938 kB / 0.6671 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002475/0.5419, allocations: 29.73 kB / 0.6671 GB, free: 4.496 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.001637/0.5435, allocations: 422.8 kB / 0.6675 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.5438, allocations: 70.94 kB / 0.6676 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5438, allocations: 64 / 0.6676 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-05/0.5439, allocations: 37.44 kB / 0.6676 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.5442, allocations: 44.8 kB / 0.6677 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.5448, allocations: 308.6 kB / 0.668 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.545, allocations: 0.72 MB / 0.6687 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.788e-05/0.5451, allocations: 21.42 kB / 0.6687 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.5451, allocations: 25.11 kB / 0.6687 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5451, allocations: 0 / 0.6687 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of Templates: time 0.006004/0.5512, allocations: 2.296 MB / 0.671 GB, free: 2.148 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (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) [Timeout 480]