Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 114.3 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 286.9 kB / 303.6 MB, free: 3.715 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.056/1.056, allocations: 180.9 MB / 0.5268 GB, free: 2.707 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 95.84 kB / 0.7259 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.5012, allocations: 94.16 MB / 0.8178 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.004653/0.5058, allocations: 4.142 MB / 0.8219 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.5076, allocations: 1.335 MB / 0.8232 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.5079, allocations: 24.5 kB / 0.8232 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.5082, allocations: 122.4 kB / 0.8233 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.5085, allocations: 182.5 kB / 0.8235 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.5093, allocations: 424 kB / 0.8239 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.51, allocations: 0.9578 MB / 0.8248 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.5104, allocations: 301.7 kB / 0.8251 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.5107, allocations: 333.8 kB / 0.8254 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.511, allocations: 339.5 kB / 0.8258 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.5111, allocations: 91.88 kB / 0.8259 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.5112, allocations: 89.31 kB / 0.8259 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.5114, allocations: 176.8 kB / 0.8261 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.5116, allocations: 395 kB / 0.8265 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009977/0.5126, allocations: 1.063 MB / 0.8275 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5126, allocations: 11.94 kB / 0.8275 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5126, allocations: 0 / 0.8275 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.5126, allocations: 3.938 kB / 0.8275 GB, free: 1.074 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001655/0.5143, allocations: 1.096 MB / 0.8286 GB, free: 288 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5143, allocations: 7.531 kB / 0.8286 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.5145, allocations: 88.89 kB / 0.8287 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009275/0.5154, allocations: 0.572 MB / 0.8293 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.5154, allocations: 44.62 kB / 0.8293 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.5155, allocations: 59.05 kB / 0.8294 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5167, allocations: 0.613 MB / 0.83 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.5167, allocations: 7.953 kB / 0.83 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.5168, allocations: 23.31 kB / 0.83 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.5168, allocations: 14.69 kB / 0.83 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.5178, allocations: 462.2 kB / 0.8304 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.5208, allocations: 1.99 MB / 0.8324 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009547/0.5217, allocations: 421.5 kB / 0.8328 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.5222, allocations: 227 kB / 0.833 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.5222, allocations: 10.08 kB / 0.833 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005669/0.5228, allocations: 258.1 kB / 0.8333 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.953e-06/0.5228, allocations: 0 / 0.8333 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001341/0.5241, allocations: 0.5861 MB / 0.8338 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.5242, allocations: 58.34 kB / 0.8339 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.5247, allocations: 455.3 kB / 0.8343 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.5247, allocations: 36.58 kB / 0.8344 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.525, allocations: 326.5 kB / 0.8347 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.5252, allocations: 171.1 kB / 0.8348 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.5253, allocations: 97.55 kB / 0.8349 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.5255, allocations: 366.6 kB / 0.8353 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.526, allocations: 166.2 kB / 0.8354 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.5264, allocations: 248.6 kB / 0.8357 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.5273, allocations: 455.9 kB / 0.8361 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5273, allocations: 0 / 0.8361 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001079/0.5283, allocations: 0.5661 MB / 0.8367 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.5284, allocations: 34.94 kB / 0.8367 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5284, allocations: 0 / 0.8367 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.5284, allocations: 6 kB / 0.8367 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.5289, allocations: 114 kB / 0.8368 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.5289, allocations: 7.203 kB / 0.8368 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.5292, allocations: 60.52 kB / 0.8369 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.5293, allocations: 24.11 kB / 0.8369 GB, free: 11.46 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002753/0.5296, allocations: 206.9 kB / 0.8371 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.5296, allocations: 63.25 kB / 0.8371 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.5298, allocations: 71.48 kB / 0.8372 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5298, allocations: 2.375 kB / 0.8372 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.5298, allocations: 3.938 kB / 0.8372 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.5298, allocations: 10.12 kB / 0.8372 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.5318, allocations: 1.174 MB / 0.8384 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5318, allocations: 1.25 kB / 0.8384 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.5323, allocations: 92.69 kB / 0.8385 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.5323, allocations: 6.594 kB / 0.8385 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.5323, allocations: 12.8 kB / 0.8385 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.5323, allocations: 1.938 kB / 0.8385 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5323, allocations: 4 kB / 0.8385 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.5339, allocations: 0.7545 MB / 0.8392 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.5341, allocations: 172.5 kB / 0.8394 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.5341, allocations: 16.25 kB / 0.8394 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.5344, allocations: 29.25 kB / 0.8394 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.5345, allocations: 33.33 kB / 0.8395 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.5346, allocations: 14.12 kB / 0.8395 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004505/0.535, allocations: 308.5 kB / 0.8398 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.535, allocations: 0 / 0.8398 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005317/0.5356, allocations: 150.2 kB / 0.8399 GB, free: 9.715 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001536/0.5357, allocations: 116.7 kB / 0.84 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.5369, allocations: 464 kB / 0.8405 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5369, allocations: 0.5 kB / 0.8405 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.5374, allocations: 201.5 kB / 0.8407 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.5382, allocations: 153.2 kB / 0.8408 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.5411, allocations: 1.38 MB / 0.8422 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.5417, allocations: 0.8869 MB / 0.843 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.5418, allocations: 48.75 kB / 0.8431 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.5418, allocations: 0 / 0.8431 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.01467/0.5565, allocations: 7.694 MB / 0.8506 GB, free: 5.516 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.45981393987313] Failed to read output from testmodel.py, exit status != 0: 0.5649147650692612 0.578394261 0.062926409 Calling exit ...