Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009829/0.000983, allocations: 190 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4462/0.4462, allocations: 90.84 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.3 MB / 342.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009559/0.0009561, allocations: 97.97 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.258e-06/9.367e-06, allocations: 4 kB / 493.9 MB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3038, allocations: 72.31 MB / 0.5529 GB, free: 73.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.4131, allocations: 105.2 MB / 0.6556 GB, free: 4.863 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.4133, allocations: 80.84 kB / 0.6557 GB, free: 4.785 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01514/0.4285, allocations: 5.152 MB / 0.6607 GB, free: 15.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.4285, allocations: 8.797 kB / 0.6607 GB, free: 15.68 MB / 490.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.0005794/0.4291, allocations: 460.7 kB / 0.6611 GB, free: 15.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4292, allocations: 8.969 kB / 0.6612 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.4292, allocations: 15.81 kB / 0.6612 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.4296, allocations: 253.5 kB / 0.6614 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4296, allocations: 0 / 0.6614 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.4297, allocations: 4 kB / 0.6614 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001021/0.4298, allocations: 31.94 kB / 0.6614 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.4299, allocations: 91.97 kB / 0.6615 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4299, allocations: 1.875 kB / 0.6615 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.43, allocations: 0 / 0.6615 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.43, allocations: 4.625 kB / 0.6615 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.4305, allocations: 334.9 kB / 0.6619 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.4306, allocations: 67.81 kB / 0.6619 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.4307, allocations: 33.75 kB / 0.662 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.4307, allocations: 0.9688 kB / 0.662 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.4308, allocations: 80.2 kB / 0.662 GB, free: 14.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.4308, allocations: 0.9375 kB / 0.662 GB, free: 14.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002514/0.4311, allocations: 105.5 kB / 0.6621 GB, free: 14.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4312, allocations: 81.83 kB / 0.6622 GB, free: 13.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.4314, allocations: 237.6 kB / 0.6624 GB, free: 13.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4314, allocations: 26.52 kB / 0.6625 GB, free: 13.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.4315, allocations: 103.1 kB / 0.6626 GB, free: 13.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.4315, allocations: 26.11 kB / 0.6626 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.4316, allocations: 3.938 kB / 0.6626 GB, free: 13.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4317, allocations: 330.8 kB / 0.6629 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.4317, allocations: 27.94 kB / 0.6629 GB, free: 13.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.4318, allocations: 55.42 kB / 0.663 GB, free: 13.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.877e-05/0.4319, allocations: 34.39 kB / 0.663 GB, free: 13.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4319, allocations: 0 / 0.663 GB, free: 13.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001905/0.4321, allocations: 114.5 kB / 0.6631 GB, free: 12.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4321, allocations: 4 kB / 0.6631 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4321, allocations: 4.5 kB / 0.6631 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4322, allocations: 0 / 0.6631 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.4322, allocations: 17.92 kB / 0.6632 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4323, allocations: 1.406 kB / 0.6632 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/0.4323, allocations: 5.781 kB / 0.6632 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.4324, allocations: 4 kB / 0.6632 GB, free: 12.95 MB / 490.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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.5e-05/0.4324, allocations: 110.1 kB / 0.6633 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.4325, allocations: 28.62 kB / 0.6633 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.4327, allocations: 114.5 kB / 0.6634 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4327, allocations: 8.469 kB / 0.6634 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4327, allocations: 0.8438 kB / 0.6634 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4327, allocations: 1.75 kB / 0.6634 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.4329, allocations: 210.8 kB / 0.6636 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4329, allocations: 0 / 0.6636 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.433, allocations: 8.719 kB / 0.6636 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.433, allocations: 0 / 0.6636 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.433, allocations: 0.6562 kB / 0.6636 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.433, allocations: 3.984 kB / 0.6636 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.433, allocations: 0.8125 kB / 0.6636 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002204/0.4332, allocations: 141.6 kB / 0.6638 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.4333, allocations: 105 kB / 0.6639 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.4334, allocations: 4 kB / 0.6639 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.4334, allocations: 0 / 0.6639 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.4335, allocations: 11.95 kB / 0.6639 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4335, allocations: 8 kB / 0.6639 GB, free: 12.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001603/0.4337, allocations: 184.6 kB / 0.6641 GB, free: 11.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.4339, allocations: 35.94 kB / 0.6641 GB, free: 11.92 MB / 490.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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006633/0.4346, allocations: 334 kB / 0.6644 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4348, allocations: 71.98 kB / 0.6645 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4348, allocations: 1.969 kB / 0.6645 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.814e-05/0.4348, allocations: 39.92 kB / 0.6645 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.4351, allocations: 35.39 kB / 0.6646 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.4355, allocations: 223.2 kB / 0.6648 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.4359, allocations: 0.7508 MB / 0.6655 GB, free: 10.57 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4359, allocations: 0 / 0.6655 GB, free: 10.57 MB / 490.7 MB Notification: Performance of Templates: time 0.004898/0.4408, allocations: 2.149 MB / 0.6676 GB, free: 8.473 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)