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.001386/0.001386, allocations: 105 kB / 17.03 MB, free: 5.699 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.001582/0.001582, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7533/0.7533, allocations: 115.1 MB / 406.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3457, allocations: 76.15 MB / 0.5576 GB, free: 36.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002734/0.3484, allocations: 1.765 MB / 0.5593 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3499, allocations: 1.023 MB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.35, allocations: 5.25 kB / 0.5603 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005742/0.3506, allocations: 162.2 kB / 0.5604 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.3509, allocations: 110.8 kB / 0.5606 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.3513, allocations: 168.3 kB / 0.5607 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.3515, allocations: 167 kB / 0.5609 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3516, allocations: 24.92 kB / 0.5609 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3518, allocations: 76.05 kB / 0.561 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3519, allocations: 69.94 kB / 0.561 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3519, allocations: 8.062 kB / 0.561 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3521, allocations: 56.84 kB / 0.5611 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.3521, allocations: 48.55 kB / 0.5611 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.3522, allocations: 60.17 kB / 0.5612 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.3525, allocations: 197.1 kB / 0.5614 GB, free: 34.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3525, allocations: 1.125 kB / 0.5614 GB, free: 34.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3525, allocations: 0 / 0.5614 GB, free: 34.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3525, allocations: 0 / 0.5614 GB, free: 34.48 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.0006806/0.3532, allocations: 0.4951 MB / 0.5619 GB, free: 34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3533, allocations: 10.86 kB / 0.5619 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.3533, allocations: 17.09 kB / 0.5619 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.3536, allocations: 236.9 kB / 0.5621 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3536, allocations: 6.656 kB / 0.5621 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3536, allocations: 11.5 kB / 0.5621 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3538, allocations: 95.69 kB / 0.5622 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3539, allocations: 1.656 kB / 0.5622 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3539, allocations: 0.6094 kB / 0.5622 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.3539, allocations: 3.281 kB / 0.5622 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.354, allocations: 36.86 kB / 0.5623 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.3545, allocations: 350.9 kB / 0.5626 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3547, allocations: 84.11 kB / 0.5627 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.3548, allocations: 31.91 kB / 0.5627 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3548, allocations: 1.344 kB / 0.5627 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.355, allocations: 79.59 kB / 0.5628 GB, free: 33.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.344e-06/0.355, allocations: 4.047 kB / 0.5628 GB, free: 33.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000335/0.3553, allocations: 146 kB / 0.5629 GB, free: 33.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.3554, allocations: 87.84 kB / 0.563 GB, free: 33.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.3556, allocations: 262.9 kB / 0.5633 GB, free: 32.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3556, allocations: 29.64 kB / 0.5633 GB, free: 32.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.3557, allocations: 121.1 kB / 0.5634 GB, free: 32.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.3557, allocations: 24.31 kB / 0.5634 GB, free: 32.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.3558, allocations: 25.8 kB / 0.5635 GB, free: 32.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.3558, allocations: 332.4 kB / 0.5638 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.3559, allocations: 26.89 kB / 0.5638 GB, free: 32.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.356, allocations: 60.86 kB / 0.5639 GB, free: 32.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3561, allocations: 73.67 kB / 0.5639 GB, free: 32.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3561, allocations: 2.188 kB / 0.5639 GB, free: 32.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001874/0.3563, allocations: 114.9 kB / 0.564 GB, free: 32.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3564, allocations: 5.781 kB / 0.5641 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3564, allocations: 1.688 kB / 0.5641 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3564, allocations: 1.5 kB / 0.5641 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.3565, allocations: 10.88 kB / 0.5641 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3565, allocations: 1.156 kB / 0.5641 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.3565, allocations: 14.44 kB / 0.5641 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3566, allocations: 3.172 kB / 0.5641 GB, free: 32.25 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.0001009/0.3567, allocations: 141.9 kB / 0.5642 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.3567, allocations: 14.89 kB / 0.5642 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.3568, allocations: 20.89 kB / 0.5643 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.3568, allocations: 14.69 kB / 0.5643 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3568, allocations: 0 / 0.5643 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3568, allocations: 4.734 kB / 0.5643 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.357, allocations: 223.1 kB / 0.5645 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.357, allocations: 3.938 kB / 0.5645 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.357, allocations: 3.969 kB / 0.5645 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.357, allocations: 6.031 kB / 0.5645 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.357, allocations: 5.703 kB / 0.5645 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.357, allocations: 2.75 kB / 0.5645 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.357, allocations: 0 / 0.5645 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.3573, allocations: 150.1 kB / 0.5647 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.3573, allocations: 95.45 kB / 0.5647 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.3574, allocations: 1.969 kB / 0.5647 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.3574, allocations: 4.781 kB / 0.5647 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.3575, allocations: 9.594 kB / 0.5648 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3575, allocations: 7.844 kB / 0.5648 GB, free: 31.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.3576, allocations: 194.7 kB / 0.565 GB, free: 31.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3576, allocations: 0.5312 kB / 0.565 GB, free: 31.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.3579, allocations: 33.45 kB / 0.565 GB, free: 31.54 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.001003/0.3589, allocations: 425.9 kB / 0.5654 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3592, allocations: 75.69 kB / 0.5655 GB, free: 31.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3592, allocations: 0 / 0.5655 GB, free: 31.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.3593, allocations: 42.86 kB / 0.5655 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3596, allocations: 41.48 kB / 0.5655 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.3601, allocations: 299.5 kB / 0.5658 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.3603, allocations: 0.7256 MB / 0.5665 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.266e-05/0.3604, allocations: 20.36 kB / 0.5666 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.3604, allocations: 18.72 kB / 0.5666 GB, free: 30.44 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3604, allocations: 0 / 0.5666 GB, free: 30.44 MB / 446.1 MB Notification: Performance of Templates: time 0.006002/0.3664, allocations: 2.289 MB / 0.5688 GB, free: 30.25 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)