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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8047/0.8047, allocations: 154.9 MB / 415.1 MB, free: 220 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.32e-05, allocations: 4.766 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002493/0.002516, allocations: 1.834 MB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.00385, allocations: 1.161 MB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.00393, allocations: 10.84 kB / 483.4 MB, free: 3.559 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.004415, allocations: 169.4 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.004688, allocations: 161 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.004959, allocations: 138.2 kB / 483.8 MB, free: 3.113 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.005138, allocations: 176.9 kB / 484 MB, free: 2.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.005216, allocations: 21.94 kB / 484 MB, free: 2.922 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.005323, allocations: 91.8 kB / 484.1 MB, free: 2.832 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.005407, allocations: 64.67 kB / 484.2 MB, free: 2.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.005423, allocations: 12 kB / 484.2 MB, free: 2.758 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.005533, allocations: 71.81 kB / 484.3 MB, free: 2.688 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.947e-05/0.005593, allocations: 48.98 kB / 484.3 MB, free: 2.641 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.005633, allocations: 31.88 kB / 484.3 MB, free: 2.609 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.005837, allocations: 159.4 kB / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005838, allocations: 0.6875 kB / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005839, allocations: 0 / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.005842, allocations: 5 kB / 484.5 MB, free: 2.449 MB / 442.7 MB 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.0003971/0.006239, allocations: 408.5 kB / 484.9 MB, free: 2.023 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.006267, allocations: 8.781 kB / 484.9 MB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.0063, allocations: 12.92 kB / 484.9 MB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.00648, allocations: 186.6 kB / 485.1 MB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.006494, allocations: 4.312 kB / 485.1 MB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.006505, allocations: 4.375 kB / 485.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.0066, allocations: 57.72 kB / 485.2 MB, free: 1.727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.006607, allocations: 4.969 kB / 485.2 MB, free: 1.723 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.006614, allocations: 0 / 485.2 MB, free: 1.723 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.006632, allocations: 7.984 kB / 485.2 MB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.006658, allocations: 13.33 kB / 485.2 MB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.006904, allocations: 206.9 kB / 485.4 MB, free: 1.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.006987, allocations: 89.28 kB / 485.5 MB, free: 1.387 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.007008, allocations: 15.5 kB / 485.5 MB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.007018, allocations: 7.938 kB / 485.5 MB, free: 1.363 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.178e-05/0.0071, allocations: 78.12 kB / 485.6 MB, free: 1.273 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.007101, allocations: 112 / 485.6 MB, free: 1.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001134/0.007214, allocations: 74.3 kB / 485.7 MB, free: 1.195 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.007237, allocations: 55.34 kB / 485.7 MB, free: 1.129 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.007367, allocations: 222.5 kB / 485.9 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.00738, allocations: 25.7 kB / 486 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.007416, allocations: 100.6 kB / 486.1 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.007438, allocations: 32.42 kB / 486.1 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.007465, allocations: 22.95 kB / 486.1 MB, free: 0.707 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.007538, allocations: 338.8 kB / 486.4 MB, free: 376 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.007553, allocations: 6.828 kB / 486.4 MB, free: 368 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.007587, allocations: 61.28 kB / 486.5 MB, free: 292 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.007631, allocations: 43.3 kB / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007633, allocations: 0.6875 kB / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.762e-05/0.00771, allocations: 81.31 kB / 486.6 MB, free: 152 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.007719, allocations: 4 kB / 486.6 MB, free: 148 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007723, allocations: 0 / 486.6 MB, free: 148 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.007733, allocations: 1.469 kB / 486.6 MB, free: 148 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.54e-05/0.007779, allocations: 12.61 kB / 486.6 MB, free: 136 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.007782, allocations: 4 kB / 486.6 MB, free: 132 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.007812, allocations: 8.578 kB / 486.7 MB, free: 124 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.007817, allocations: 0 / 486.7 MB, free: 124 kB / 442.7 MB 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 8.52e-05/0.007902, allocations: 126 kB / 486.8 MB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.007915, allocations: 11.94 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.979e-05/0.008005, allocations: 83.62 kB / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.008013, allocations: 8.594 kB / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.008015, allocations: 0 / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008018, allocations: 2.219 kB / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.008e-05/0.008108, allocations: 105.7 kB / 487 MB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.008109, allocations: 1.781 kB / 487 MB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.008123, allocations: 4 kB / 487 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.008124, allocations: 0 / 487 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.008132, allocations: 11.94 kB / 487 MB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.008133, allocations: 0 / 487 MB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008134, allocations: 0.5312 kB / 487 MB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.317e-05/0.008207, allocations: 106.6 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.008221, allocations: 11.91 kB / 487.1 MB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.008237, allocations: 3.938 kB / 487.1 MB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.008261, allocations: 13.16 kB / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.008284, allocations: 7.984 kB / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.008288, allocations: 2.125 kB / 487.1 MB, free: 15.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.008345, allocations: 71.61 kB / 487.2 MB, free: 15.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008345, allocations: 4 kB / 487.2 MB, free: 15.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001301/0.008475, allocations: 31.89 kB / 487.2 MB, free: 15.48 MB / 458.7 MB 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.001101/0.009576, allocations: 0.5163 MB / 487.8 MB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.009678, allocations: 44.77 kB / 487.8 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.009681, allocations: 0.9375 kB / 487.8 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.209e-05/0.009713, allocations: 31.56 kB / 487.8 MB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.009842, allocations: 41.92 kB / 487.9 MB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.01022, allocations: 282.5 kB / 488.2 MB, free: 14.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.01027, allocations: 75.83 kB / 488.2 MB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.181e-05/0.01033, allocations: 19.42 kB / 488.3 MB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/0.01042, allocations: 71.36 kB / 488.3 MB, free: 14.67 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01042, allocations: 1.875 kB / 488.3 MB, free: 14.67 MB / 458.7 MB Notification: Performance of Templates: time 0.005579/0.016, allocations: 2.633 MB / 491 MB, free: 12.24 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8140628677792847]