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.001987/0.001987, allocations: 97.47 kB / 20.22 MB, free: 4.207 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.001991/0.001991, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 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 1.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 1.049/1.049, allocations: 115 MB / 375.3 MB, free: 7.57 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.343e-06/1.343e-06, allocations: 0 / 480.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.236e-05, allocations: 4.531 kB / 480.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003974/0.003996, allocations: 3.468 MB / 484.2 MB, free: 9.684 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.006095, allocations: 1.353 MB / 485.6 MB, free: 8.727 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.006422, allocations: 32.81 kB / 485.6 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.006702, allocations: 125.9 kB / 485.7 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.007155, allocations: 185.3 kB / 485.9 MB, free: 8.488 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.008008, allocations: 0.5656 MB / 486.5 MB, free: 8.172 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007575/0.008766, allocations: 0.9698 MB / 487.4 MB, free: 7.672 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.009108, allocations: 234.7 kB / 487.7 MB, free: 7.523 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.009612, allocations: 0.5116 MB / 488.2 MB, free: 7.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.009882, allocations: 257.9 kB / 488.4 MB, free: 7.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.01001, allocations: 80.25 kB / 488.5 MB, free: 7.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.01012, allocations: 80.97 kB / 488.6 MB, free: 7.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.01025, allocations: 189.2 kB / 488.8 MB, free: 7.027 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.01044, allocations: 234.6 kB / 489 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007044/0.01114, allocations: 0.9299 MB / 489.9 MB, free: 6.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01115, allocations: 1.312 kB / 489.9 MB, free: 6.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01115, allocations: 1.344 kB / 489.9 MB, free: 6.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.01117, allocations: 0 / 489.9 MB, free: 6.469 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.00176/0.01293, allocations: 1.258 MB / 491.2 MB, free: 5.586 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.01296, allocations: 9.75 kB / 491.2 MB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.01316, allocations: 138.1 kB / 491.3 MB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008752/0.01403, allocations: 0.587 MB / 491.9 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.976e-05/0.01413, allocations: 144.1 kB / 492.1 MB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.01422, allocations: 62.22 kB / 492.1 MB, free: 4.996 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009576/0.01518, allocations: 0.7962 MB / 492.9 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.0152, allocations: 2.719 kB / 492.9 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.01525, allocations: 26.09 kB / 492.9 MB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.01526, allocations: 16.16 kB / 493 MB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008155/0.01608, allocations: 392.5 kB / 493.3 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.01898, allocations: 2.441 MB / 495.8 MB, free: 18.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009569/0.01994, allocations: 478.8 kB / 496.2 MB, free: 18.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.02032, allocations: 198.7 kB / 496.4 MB, free: 18.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.81e-05/0.02037, allocations: 8.062 kB / 496.4 MB, free: 18.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/0.02089, allocations: 334.3 kB / 496.8 MB, free: 18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.983e-06/0.02089, allocations: 0 / 496.8 MB, free: 18 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.001249/0.02214, allocations: 0.5916 MB / 497.4 MB, free: 17.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.02218, allocations: 115.2 kB / 497.5 MB, free: 17.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/0.02293, allocations: 0.7404 MB / 498.2 MB, free: 17.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.02297, allocations: 37.02 kB / 498.3 MB, free: 17.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.02325, allocations: 449.5 kB / 498.7 MB, free: 16.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.02335, allocations: 177.2 kB / 498.9 MB, free: 16.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.02351, allocations: 121.2 kB / 499 MB, free: 16.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003429/0.02386, allocations: 0.5921 MB / 499.6 MB, free: 16.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.02425, allocations: 202.3 kB / 499.8 MB, free: 16.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.02469, allocations: 404.6 kB / 0.4884 GB, free: 15.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/0.02544, allocations: 0.4937 MB / 0.4889 GB, free: 15.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.02545, allocations: 1.062 kB / 0.4889 GB, free: 15.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001075/0.02652, allocations: 0.6316 MB / 0.4895 GB, free: 15.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.02656, allocations: 38.02 kB / 0.4896 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.02657, allocations: 3.406 kB / 0.4896 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.02659, allocations: 13.22 kB / 0.4896 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.02706, allocations: 105.6 kB / 0.4897 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.02707, allocations: 10.56 kB / 0.4897 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.02743, allocations: 53.42 kB / 0.4898 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.02747, allocations: 19.25 kB / 0.4898 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006052/0.02807, allocations: 379.8 kB / 0.4901 GB, free: 14.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005001/0.02857, allocations: 395.5 kB / 0.4905 GB, free: 14.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008424/0.02942, allocations: 487.1 kB / 0.491 GB, free: 14.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.02942, allocations: 1.281 kB / 0.491 GB, free: 14.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001513/0.03093, allocations: 0.6116 MB / 0.4916 GB, free: 13.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.03098, allocations: 36.14 kB / 0.4916 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.03099, allocations: 6.375 kB / 0.4916 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.031, allocations: 12.55 kB / 0.4916 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.03149, allocations: 101.1 kB / 0.4917 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.0315, allocations: 9.703 kB / 0.4917 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.03198, allocations: 52.48 kB / 0.4918 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.03202, allocations: 17.72 kB / 0.4918 GB, free: 13.71 MB / 426.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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * 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.0003698/0.03239, allocations: 298.8 kB / 0.4921 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.03258, allocations: 86.03 kB / 0.4922 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.03284, allocations: 79.38 kB / 0.4922 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.03285, allocations: 7.188 kB / 0.4923 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.03286, allocations: 1.719 kB / 0.4923 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.03287, allocations: 0 / 0.4923 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.03389, allocations: 0.5605 MB / 0.4928 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.03389, allocations: 3.938 kB / 0.4928 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.03433, allocations: 76.58 kB / 0.4929 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.03434, allocations: 2.219 kB / 0.4929 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.03438, allocations: 13.91 kB / 0.4929 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.03438, allocations: 5.094 kB / 0.4929 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.03439, allocations: 1.219 kB / 0.4929 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.03596, allocations: 0.7198 MB / 0.4936 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.03623, allocations: 118.3 kB / 0.4937 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.03631, allocations: 7.922 kB / 0.4937 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.03669, allocations: 33.3 kB / 0.4938 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.0368, allocations: 33.34 kB / 0.4938 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.03685, allocations: 17.22 kB / 0.4938 GB, free: 12.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006486/0.0375, allocations: 481.4 kB / 0.4943 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0375, allocations: 0 / 0.4943 GB, free: 12.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007344/0.03823, allocations: 232.3 kB / 0.4945 GB, free: 11.96 MB / 426.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.0001694/0.0384, allocations: 117.9 kB / 0.4946 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.04038, allocations: 0.8505 MB / 0.4954 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.04038, allocations: 0 / 0.4954 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.04089, allocations: 229.4 kB / 0.4956 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009758/0.04186, allocations: 215 kB / 0.4959 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.04422, allocations: 1.188 MB / 0.497 GB, free: 9.512 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.0446, allocations: 322.7 kB / 0.4973 GB, free: 9.266 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000403/0.04501, allocations: 91.28 kB / 0.4974 GB, free: 9.203 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.04517, allocations: 47.91 kB / 0.4975 GB, free: 9.16 MB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.04517, allocations: 0 / 0.4975 GB, free: 9.16 MB / 426.7 MB Notification: Performance of Templates: time 0.01788/0.06305, allocations: 8.036 MB / 0.5053 GB, free: 3.156 MB / 426.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: 5.992294923984446]