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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009771/0.0009772, allocations: 89.83 kB / 16.67 MB, free: 5.742 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.001182/0.001182, allocations: 182.1 kB / 17.58 MB, free: 5.477 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.305/1.305, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7085/0.7085, allocations: 115.5 MB / 408.2 MB, free: 7.082 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.000345, allocations: 12.23 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 77.52 MB / 0.5606 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.001774/0.3362, allocations: 1.485 MB / 0.562 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3375, allocations: 0.9837 MB / 0.563 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.3376, allocations: 1.094 kB / 0.563 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005395/0.3381, allocations: 162.2 kB / 0.5631 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.3384, allocations: 103.9 kB / 0.5632 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.3387, allocations: 151.9 kB / 0.5634 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.3389, allocations: 165.4 kB / 0.5635 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.339, allocations: 19.64 kB / 0.5636 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.3391, allocations: 65 kB / 0.5636 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3392, allocations: 64.64 kB / 0.5637 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3392, allocations: 2.125 kB / 0.5637 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3394, allocations: 56.8 kB / 0.5637 GB, free: 34.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.3394, allocations: 36.67 kB / 0.5638 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.3395, allocations: 81.31 kB / 0.5639 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.3397, allocations: 150.2 kB / 0.564 GB, free: 34.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3397, allocations: 1.281 kB / 0.564 GB, free: 34.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3397, allocations: 1.031 kB / 0.564 GB, free: 34.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3398, allocations: 0 / 0.564 GB, free: 34.18 MB / 446.1 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.0005467/0.3403, allocations: 470 kB / 0.5644 GB, free: 33.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.3404, allocations: 14.25 kB / 0.5645 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.3404, allocations: 15.69 kB / 0.5645 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.3406, allocations: 246.9 kB / 0.5647 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3407, allocations: 3.281 kB / 0.5647 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3407, allocations: 11.38 kB / 0.5647 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3409, allocations: 94.14 kB / 0.5648 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3409, allocations: 1.156 kB / 0.5648 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3409, allocations: 0.6094 kB / 0.5648 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.3409, allocations: 4 kB / 0.5648 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.102e-05/0.341, allocations: 36.77 kB / 0.5649 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.3415, allocations: 359.9 kB / 0.5652 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3417, allocations: 72.17 kB / 0.5653 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.3417, allocations: 33.58 kB / 0.5653 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3418, allocations: 2.484 kB / 0.5653 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.3419, allocations: 87.86 kB / 0.5654 GB, free: 32.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3419, allocations: 1.156 kB / 0.5654 GB, free: 32.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003097/0.3423, allocations: 145.3 kB / 0.5655 GB, free: 32.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3423, allocations: 82.12 kB / 0.5656 GB, free: 32.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.3425, allocations: 265.9 kB / 0.5659 GB, free: 32.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3426, allocations: 31.11 kB / 0.5659 GB, free: 32.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.3426, allocations: 112.2 kB / 0.566 GB, free: 32.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.3427, allocations: 21.89 kB / 0.566 GB, free: 32.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.3427, allocations: 27.64 kB / 0.566 GB, free: 32.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.3428, allocations: 333.3 kB / 0.5664 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.3428, allocations: 26.69 kB / 0.5664 GB, free: 32.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.3429, allocations: 62.41 kB / 0.5664 GB, free: 32.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.343, allocations: 74.03 kB / 0.5665 GB, free: 32.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3431, allocations: 0 / 0.5665 GB, free: 32.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001834/0.3432, allocations: 111.3 kB / 0.5666 GB, free: 31.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3433, allocations: 5.891 kB / 0.5666 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3433, allocations: 8.641 kB / 0.5666 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.3433, allocations: 2.625 kB / 0.5666 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.3434, allocations: 15.23 kB / 0.5667 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3434, allocations: 0.8438 kB / 0.5667 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.3434, allocations: 19.48 kB / 0.5667 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.3435, allocations: 2.5 kB / 0.5667 GB, free: 31.96 MB / 446.1 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 9.515e-05/0.3436, allocations: 148.2 kB / 0.5668 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3436, allocations: 17.95 kB / 0.5668 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.3436, allocations: 18.16 kB / 0.5669 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.3437, allocations: 2.953 kB / 0.5669 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3437, allocations: 1.297 kB / 0.5669 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3437, allocations: 5.031 kB / 0.5669 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.3438, allocations: 219.7 kB / 0.5671 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3438, allocations: 1.438 kB / 0.5671 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.3439, allocations: 4.562 kB / 0.5671 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3439, allocations: 0 / 0.5671 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3439, allocations: 3.109 kB / 0.5671 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3439, allocations: 1.875 kB / 0.5671 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3439, allocations: 4.875 kB / 0.5671 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.3441, allocations: 149.3 kB / 0.5672 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.3442, allocations: 101.2 kB / 0.5673 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3442, allocations: 2.766 kB / 0.5673 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.3442, allocations: 6.719 kB / 0.5673 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.3443, allocations: 8.312 kB / 0.5673 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3443, allocations: 7.609 kB / 0.5673 GB, free: 31.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3445, allocations: 195.9 kB / 0.5675 GB, free: 31.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3445, allocations: 0.8125 kB / 0.5675 GB, free: 31.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3447, allocations: 32.83 kB / 0.5676 GB, free: 31.26 MB / 446.1 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.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.0009308/0.3457, allocations: 430.7 kB / 0.568 GB, free: 31.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.3459, allocations: 74.42 kB / 0.568 GB, free: 31.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3459, allocations: 2.062 kB / 0.5681 GB, free: 31.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.346, allocations: 41.19 kB / 0.5681 GB, free: 31.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3463, allocations: 33.38 kB / 0.5681 GB, free: 31.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.3468, allocations: 365.3 kB / 0.5685 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.3469, allocations: 0.7245 MB / 0.5692 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.347, allocations: 21.67 kB / 0.5692 GB, free: 30.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.347, allocations: 0 / 0.5692 GB, free: 30.09 MB / 446.1 MB Notification: Performance of Templates: time 0.004739/0.3517, allocations: 2.524 MB / 0.5717 GB, free: 29.87 MB / 446.1 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)