Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.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.0008672/0.0008672, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009229/0.0009229, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9599/0.9599, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002629/0.002629, allocations: 249.5 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7087/0.7087, allocations: 138.4 MB / 402.2 MB, free: 0.5664 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.324e-05, allocations: 6.406 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.006465/0.006489, allocations: 4.024 MB / 466.3 MB, free: 14.29 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.01007, allocations: 1.702 MB / 468 MB, free: 12.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.01053, allocations: 47.62 kB / 468.1 MB, free: 12.86 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.01084, allocations: 171.7 kB / 468.3 MB, free: 12.69 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.01135, allocations: 243.4 kB / 468.5 MB, free: 12.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/0.01224, allocations: 0.6723 MB / 469.2 MB, free: 11.79 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008607/0.0131, allocations: 1.23 MB / 470.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.01349, allocations: 333.4 kB / 470.7 MB, free: 10.21 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.01411, allocations: 0.6721 MB / 471.4 MB, free: 9.535 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.01442, allocations: 326.8 kB / 471.7 MB, free: 9.215 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.973e-05/0.01452, allocations: 107.9 kB / 471.8 MB, free: 9.109 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.01464, allocations: 104 kB / 471.9 MB, free: 9.008 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.01475, allocations: 235 kB / 472.1 MB, free: 8.777 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.01492, allocations: 299.8 kB / 472.4 MB, free: 8.484 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.01549, allocations: 0.7467 MB / 473.2 MB, free: 7.734 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01549, allocations: 1.188 kB / 473.2 MB, free: 7.734 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01549, allocations: 0 / 473.2 MB, free: 7.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.0155, allocations: 0 / 473.2 MB, free: 7.734 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001203/0.0167, allocations: 1.279 MB / 474.5 MB, free: 6.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.01673, allocations: 8.75 kB / 474.5 MB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.01691, allocations: 136.8 kB / 474.6 MB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.01756, allocations: 0.6019 MB / 475.2 MB, free: 5.676 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.01762, allocations: 110 kB / 475.3 MB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.01769, allocations: 76.3 kB / 475.4 MB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.01824, allocations: 0.6971 MB / 476.1 MB, free: 4.707 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01825, allocations: 1 kB / 476.1 MB, free: 4.707 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.01829, allocations: 33.77 kB / 476.1 MB, free: 4.676 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.0183, allocations: 16 kB / 476.1 MB, free: 4.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.01853, allocations: 174.8 kB / 476.3 MB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.01999, allocations: 1.445 MB / 477.8 MB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.02038, allocations: 289.6 kB / 478 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.0205, allocations: 115.4 kB / 478.1 MB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.02053, allocations: 12.44 kB / 478.2 MB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.02073, allocations: 224.8 kB / 478.4 MB, free: 2.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 1.993e-06/0.02073, allocations: 0 / 478.4 MB, free: 2.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.0003971/0.02113, allocations: 319.5 kB / 478.7 MB, free: 2.066 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.02118, allocations: 115.3 kB / 478.8 MB, free: 1.926 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.02154, allocations: 0.6053 MB / 479.4 MB, free: 1.305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.02158, allocations: 34.45 kB / 479.4 MB, free: 1.266 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.02172, allocations: 334.6 kB / 479.8 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.02182, allocations: 215.6 kB / 480 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.02193, allocations: 110.3 kB / 480.1 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.02201, allocations: 333.9 kB / 480.4 MB, free: 284 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.571e-05/0.0221, allocations: 70.05 kB / 480.5 MB, free: 212 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.02225, allocations: 216.8 kB / 480.7 MB, free: 15.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.02251, allocations: 276.1 kB / 481 MB, free: 15.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.02251, allocations: 3.938 kB / 481 MB, free: 15.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0003336/0.02284, allocations: 327.8 kB / 481.3 MB, free: 15.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.02286, allocations: 4 kB / 481.3 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.02286, allocations: 4.875 kB / 481.3 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.02287, allocations: 4 kB / 481.3 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.02335, allocations: 182.2 kB / 481.5 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.02335, allocations: 4 kB / 481.5 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.02353, allocations: 62.98 kB / 481.5 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.02355, allocations: 20.61 kB / 481.6 MB, free: 15.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001657/0.02372, allocations: 154.3 kB / 481.7 MB, free: 14.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001437/0.02386, allocations: 220.8 kB / 481.9 MB, free: 14.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002377/0.0241, allocations: 269.6 kB / 482.2 MB, free: 14.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.0241, allocations: 0 / 482.2 MB, free: 14.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0003143/0.02442, allocations: 320.6 kB / 482.5 MB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.02442, allocations: 8 kB / 482.5 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-06/0.02443, allocations: 0 / 482.5 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/0.02443, allocations: 4 kB / 482.5 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.02483, allocations: 185.6 kB / 482.7 MB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.02484, allocations: 8 kB / 482.7 MB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.02501, allocations: 52.41 kB / 482.8 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.02503, allocations: 28.61 kB / 482.8 MB, free: 13.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDDef.I.trigger_internal,limPIDOri.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * 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.0001029/0.02514, allocations: 213.3 kB / 483 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.0252, allocations: 71.92 kB / 483.1 MB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.608e-05/0.02529, allocations: 97.77 kB / 483.2 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.02529, allocations: 4 kB / 483.2 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.02529, allocations: 0.5625 kB / 483.2 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.0253, allocations: 3.938 kB / 483.2 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/0.02616, allocations: 0.7137 MB / 483.9 MB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.02616, allocations: 0.5625 kB / 483.9 MB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.02643, allocations: 101 kB / 484 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02644, allocations: 11.92 kB / 484 MB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.02646, allocations: 12.94 kB / 484 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.02646, allocations: 4.688 kB / 484 MB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.02646, allocations: 0 / 484 MB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.02691, allocations: 480.6 kB / 484.5 MB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.02704, allocations: 91.95 kB / 484.6 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.02709, allocations: 17.34 kB / 484.6 MB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.02726, allocations: 29.03 kB / 484.6 MB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.02732, allocations: 41.17 kB / 484.7 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.02734, allocations: 14.75 kB / 484.7 MB, free: 11.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002086/0.02755, allocations: 304.5 kB / 485 MB, free: 11.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02755, allocations: 0 / 485 MB, free: 11.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.02795, allocations: 295.1 kB / 485.3 MB, free: 11.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.631e-05/0.02803, allocations: 97.92 kB / 485.4 MB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.02848, allocations: 424.1 kB / 485.8 MB, free: 10.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.02849, allocations: 12 kB / 485.8 MB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.02863, allocations: 144.6 kB / 485.9 MB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.02918, allocations: 279 kB / 486.2 MB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.03067, allocations: 1.401 MB / 487.6 MB, free: 8.906 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.03077, allocations: 168.8 kB / 487.8 MB, free: 8.723 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.03109, allocations: 120.2 kB / 487.9 MB, free: 8.629 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.0315, allocations: 250 kB / 488.1 MB, free: 8.383 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0315, allocations: 0 / 488.1 MB, free: 8.383 MB / 442.7 MB Notification: Performance of Templates: time 0.01336/0.04486, allocations: 10.93 MB / 499 MB, free: 14.05 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6345743210986257]