Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.0009415/0.0009415, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.0009991/0.0009991, allocations: 173 kB / 24.15 MB, free: 352 kB / 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 0.9828/0.9828, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6054/0.6054, allocations: 115 MB / 376 MB, free: 7.492 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 428.7 MB, free: 2.855 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.109e-05, allocations: 2.312 kB / 428.7 MB, free: 2.852 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.007314/0.007335, allocations: 3.429 MB / 432.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005327/0.01266, allocations: 1.409 MB / 433.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.01297, allocations: 31.75 kB / 433.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.01324, allocations: 122.6 kB / 433.7 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.0167, allocations: 202.3 kB / 433.9 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008689/0.01757, allocations: 0.5693 MB / 434.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009564/0.01852, allocations: 0.968 MB / 435.4 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.01888, allocations: 236.2 kB / 435.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005034/0.01938, allocations: 0.5221 MB / 436.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/0.02267, allocations: 251 kB / 436.4 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.199e-05/0.02276, allocations: 76 kB / 436.5 MB, free: 10.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.02284, allocations: 76 kB / 436.5 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.02296, allocations: 191.2 kB / 436.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.02314, allocations: 227.3 kB / 436.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.02373, allocations: 0.5912 MB / 437.5 MB, free: 9.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.02373, allocations: 0 / 437.5 MB, free: 9.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02373, allocations: 0 / 437.5 MB, free: 9.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.02374, allocations: 0 / 437.5 MB, free: 9.914 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001302/0.02504, allocations: 1.063 MB / 438.6 MB, free: 8.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.02507, allocations: 8.031 kB / 438.6 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.0252, allocations: 100.8 kB / 438.7 MB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.02891, allocations: 0.4959 MB / 439.2 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.732e-05/0.02901, allocations: 148.4 kB / 439.3 MB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.02909, allocations: 60.31 kB / 439.4 MB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.02969, allocations: 0.5958 MB / 440 MB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.0297, allocations: 4.188 kB / 440 MB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.02974, allocations: 28.11 kB / 440 MB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.02975, allocations: 12 kB / 440 MB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.02998, allocations: 146.8 kB / 440.2 MB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/0.03456, allocations: 1.458 MB / 441.6 MB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.03511, allocations: 211.5 kB / 441.9 MB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.03523, allocations: 80.72 kB / 441.9 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.03526, allocations: 11.94 kB / 441.9 MB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.0355, allocations: 221.4 kB / 442.2 MB, free: 5.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.0355, allocations: 0 / 442.2 MB, free: 5.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.0004073/0.03591, allocations: 253.7 kB / 442.4 MB, free: 4.777 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.03596, allocations: 114.8 kB / 442.5 MB, free: 4.641 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.03635, allocations: 0.5117 MB / 443 MB, free: 4.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.03638, allocations: 37.7 kB / 443.1 MB, free: 4.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.03652, allocations: 274.9 kB / 443.3 MB, free: 3.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.03662, allocations: 162.6 kB / 443.5 MB, free: 3.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.03674, allocations: 102.2 kB / 443.6 MB, free: 3.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.03685, allocations: 386.6 kB / 444 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.03697, allocations: 81.16 kB / 444.1 MB, free: 3.062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.03714, allocations: 243.2 kB / 444.3 MB, free: 2.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/0.04043, allocations: 266.8 kB / 444.5 MB, free: 2.465 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.04043, allocations: 0 / 444.5 MB, free: 2.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003959/0.04083, allocations: 333.7 kB / 444.9 MB, free: 2.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.04086, allocations: 34.02 kB / 444.9 MB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.04087, allocations: 8 kB / 444.9 MB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.04089, allocations: 7.938 kB / 444.9 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.04119, allocations: 103.9 kB / 445 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.0412, allocations: 7.938 kB / 445 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.04141, allocations: 55.66 kB / 445.1 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.04143, allocations: 16 kB / 445.1 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001873/0.04162, allocations: 167.1 kB / 445.3 MB, free: 1.711 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001676/0.04179, allocations: 251.2 kB / 445.5 MB, free: 1.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002557/0.04204, allocations: 262.6 kB / 445.8 MB, free: 1.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.04204, allocations: 0 / 445.8 MB, free: 1.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0003747/0.04242, allocations: 337.7 kB / 446.1 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.04244, allocations: 37.69 kB / 446.1 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.04244, allocations: 4 kB / 446.1 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/0.04245, allocations: 4 kB / 446.1 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.04272, allocations: 100.2 kB / 446.2 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.04273, allocations: 15.88 kB / 446.3 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.04292, allocations: 47.72 kB / 446.3 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.04294, allocations: 16 kB / 446.3 MB, free: 0.5391 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (limPID.I.trigger_internal,limPIDRev.I.trigger_internal,limPIDOri.I.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001156/0.04306, allocations: 208.2 kB / 446.5 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.04313, allocations: 59.89 kB / 446.6 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.04623, allocations: 74.75 kB / 446.7 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.04623, allocations: 11.94 kB / 446.7 MB, free: 184 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.04624, allocations: 0 / 446.7 MB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.04624, allocations: 4 kB / 446.7 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.221/0.2672, allocations: 315.5 kB / 447 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.2673, allocations: 0 / 447 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.2676, allocations: 73.34 kB / 447 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.2676, allocations: 2.594 kB / 447 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.2676, allocations: 11.05 kB / 447.1 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2676, allocations: 1.375 kB / 447.1 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2676, allocations: 0 / 447.1 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.2681, allocations: 323.5 kB / 447.4 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2683, allocations: 71.92 kB / 447.4 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.2683, allocations: 13.94 kB / 447.5 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2685, allocations: 25.83 kB / 447.5 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.2686, allocations: 33 kB / 447.5 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.2686, allocations: 13.42 kB / 447.5 MB, free: 29.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.2688, allocations: 243.8 kB / 447.8 MB, free: 29.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2688, allocations: 0 / 447.8 MB, free: 29.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004547/0.2692, allocations: 233.8 kB / 448 MB, free: 29.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * 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.000123/0.2694, allocations: 94.73 kB / 448.1 MB, free: 29.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.2699, allocations: 0.5108 MB / 448.6 MB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/0.2699, allocations: 5.375 kB / 448.6 MB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.27, allocations: 112.8 kB / 448.7 MB, free: 29.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.2705, allocations: 214 kB / 448.9 MB, free: 29.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2718, allocations: 1.065 MB / 450 MB, free: 28.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.808e-05/0.2719, allocations: 137.9 kB / 450.1 MB, free: 28.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.2722, allocations: 92.5 kB / 450.2 MB, free: 28.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.2726, allocations: 211.3 kB / 450.4 MB, free: 28.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.2726, allocations: 2.234 kB / 450.4 MB, free: 28.36 MB / 410.7 MB Notification: Performance of Templates: time 0.01255/0.2851, allocations: 8.65 MB / 459.1 MB, free: 26.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.61250440729782]