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.001608/0.001608, allocations: 108.5 kB / 16.52 MB, free: 6.664 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.001854/0.001854, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6887/0.6887, allocations: 115.3 MB / 406.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.89 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3286, allocations: 76.18 MB / 0.5564 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003009/0.3317, allocations: 1.824 MB / 0.5582 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3331, allocations: 1.011 MB / 0.5591 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.216e-05/0.3332, allocations: 1.219 kB / 0.5591 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006118/0.3338, allocations: 157.2 kB / 0.5593 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.334, allocations: 102.7 kB / 0.5594 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.3345, allocations: 162.5 kB / 0.5595 GB, free: 33.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3346, allocations: 162.2 kB / 0.5597 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.3347, allocations: 21.53 kB / 0.5597 GB, free: 33.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/0.3348, allocations: 59.41 kB / 0.5598 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.335, allocations: 71.94 kB / 0.5598 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.335, allocations: 4.969 kB / 0.5599 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3351, allocations: 52.47 kB / 0.5599 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.3352, allocations: 34.73 kB / 0.5599 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.3353, allocations: 60.52 kB / 0.56 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.3355, allocations: 153.5 kB / 0.5601 GB, free: 33.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3355, allocations: 0 / 0.5601 GB, free: 33.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3355, allocations: 0 / 0.5601 GB, free: 33.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3355, allocations: 5.562 kB / 0.5601 GB, free: 33.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.0006439/0.3362, allocations: 496.7 kB / 0.5606 GB, free: 32.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3362, allocations: 13.56 kB / 0.5606 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.3363, allocations: 16.84 kB / 0.5606 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3365, allocations: 238.8 kB / 0.5609 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3365, allocations: 1.906 kB / 0.5609 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3365, allocations: 12.06 kB / 0.5609 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3367, allocations: 98 kB / 0.561 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3367, allocations: 1.688 kB / 0.561 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3368, allocations: 2.281 kB / 0.561 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.3368, allocations: 2.719 kB / 0.561 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.606e-05/0.3369, allocations: 36.42 kB / 0.561 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.3373, allocations: 355.1 kB / 0.5614 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3375, allocations: 76.27 kB / 0.5614 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.3376, allocations: 32.67 kB / 0.5615 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3376, allocations: 3.203 kB / 0.5615 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3378, allocations: 84.41 kB / 0.5616 GB, free: 31.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.3378, allocations: 0.5312 kB / 0.5616 GB, free: 31.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003454/0.3381, allocations: 145.2 kB / 0.5617 GB, free: 31.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3382, allocations: 82.28 kB / 0.5618 GB, free: 31.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.3384, allocations: 262.3 kB / 0.562 GB, free: 31.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3385, allocations: 28.92 kB / 0.562 GB, free: 31.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.3385, allocations: 123.9 kB / 0.5622 GB, free: 31.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3385, allocations: 22.58 kB / 0.5622 GB, free: 31.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3386, allocations: 26.61 kB / 0.5622 GB, free: 31.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.3387, allocations: 333.5 kB / 0.5625 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.3387, allocations: 26.36 kB / 0.5626 GB, free: 31.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.3388, allocations: 61.56 kB / 0.5626 GB, free: 31.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.339, allocations: 82.47 kB / 0.5627 GB, free: 31.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.339, allocations: 0 / 0.5627 GB, free: 31.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001916/0.3392, allocations: 117.6 kB / 0.5628 GB, free: 30.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3392, allocations: 10.91 kB / 0.5628 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3392, allocations: 1.125 kB / 0.5628 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3392, allocations: 1.344 kB / 0.5628 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.3393, allocations: 10.72 kB / 0.5628 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3393, allocations: 0.7031 kB / 0.5628 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.3394, allocations: 16.23 kB / 0.5628 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3394, allocations: 2.625 kB / 0.5628 GB, free: 30.95 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 0.0001016/0.3395, allocations: 143.8 kB / 0.563 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.3395, allocations: 16.08 kB / 0.563 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.3396, allocations: 19.11 kB / 0.563 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3396, allocations: 3.391 kB / 0.563 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3396, allocations: 1.188 kB / 0.563 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3396, allocations: 4.641 kB / 0.563 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3398, allocations: 227.9 kB / 0.5632 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3398, allocations: 0.7812 kB / 0.5632 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.3398, allocations: 4.625 kB / 0.5632 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3398, allocations: 1.781 kB / 0.5632 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3398, allocations: 1.25 kB / 0.5632 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3399, allocations: 1.391 kB / 0.5633 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3399, allocations: 0.6875 kB / 0.5633 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.3401, allocations: 156.1 kB / 0.5634 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.3401, allocations: 94.7 kB / 0.5635 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.3402, allocations: 1.859 kB / 0.5635 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/0.3402, allocations: 3.688 kB / 0.5635 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.3403, allocations: 11.33 kB / 0.5635 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.3403, allocations: 8.688 kB / 0.5635 GB, free: 30.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.3405, allocations: 194.3 kB / 0.5637 GB, free: 30.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3405, allocations: 0.5312 kB / 0.5637 GB, free: 30.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3407, allocations: 32.09 kB / 0.5637 GB, free: 30.25 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.000976/0.3417, allocations: 434.6 kB / 0.5641 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.342, allocations: 72.28 kB / 0.5642 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.342, allocations: 0 / 0.5642 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.3421, allocations: 40.86 kB / 0.5643 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3424, allocations: 36.45 kB / 0.5643 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.3429, allocations: 361 kB / 0.5646 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.3431, allocations: 0.7238 MB / 0.5653 GB, free: 29.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.3432, allocations: 23.3 kB / 0.5654 GB, free: 29.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3432, allocations: 3.938 kB / 0.5654 GB, free: 29.08 MB / 446.1 MB Notification: Performance of Templates: time 0.00503/0.3482, allocations: 2.552 MB / 0.5679 GB, free: 28.83 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)