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.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.001321/0.001321, allocations: 81.22 kB / 19.76 MB, free: 2.02 MB / 14.72 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.001338/0.001338, allocations: 156.9 kB / 23 MB, free: 4.965 MB / 14.72 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.002516/0.002516, allocations: 240.4 kB / 260 MB, free: 432 kB / 238.1 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.9436/0.9436, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 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.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003115/0.003115, allocations: 95.86 kB / 0.6473 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3947, allocations: 95.35 MB / 0.7404 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.004385/0.3991, allocations: 3.752 MB / 0.7441 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.401, allocations: 1.331 MB / 0.7454 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.4013, allocations: 29.69 kB / 0.7454 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.4016, allocations: 130.2 kB / 0.7455 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.4019, allocations: 180.9 kB / 0.7457 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.4026, allocations: 425.3 kB / 0.7461 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007679/0.4034, allocations: 0.9594 MB / 0.7471 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.4038, allocations: 283.1 kB / 0.7473 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.4041, allocations: 340.6 kB / 0.7476 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.4044, allocations: 293.1 kB / 0.7479 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.4045, allocations: 91.78 kB / 0.748 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.4047, allocations: 89.88 kB / 0.7481 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.4048, allocations: 184.4 kB / 0.7483 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.405, allocations: 302.7 kB / 0.7486 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009115/0.406, allocations: 1.075 MB / 0.7496 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.406, allocations: 5.672 kB / 0.7496 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.406, allocations: 0 / 0.7496 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.406, allocations: 0 / 0.7496 GB, free: 11.66 MB / 0.5919 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.001687/0.4077, allocations: 1.076 MB / 0.7507 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4077, allocations: 14.88 kB / 0.7507 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.4078, allocations: 86.62 kB / 0.7508 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.4086, allocations: 0.5075 MB / 0.7513 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.4087, allocations: 41.47 kB / 0.7513 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.4087, allocations: 59.84 kB / 0.7514 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4098, allocations: 0.6609 MB / 0.752 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.4098, allocations: 5.594 kB / 0.752 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.4098, allocations: 25.69 kB / 0.752 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.4099, allocations: 14.06 kB / 0.752 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.4108, allocations: 459.3 kB / 0.7525 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.4132, allocations: 1.692 MB / 0.7541 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/0.414, allocations: 431.2 kB / 0.7546 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.4144, allocations: 227.5 kB / 0.7548 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.4145, allocations: 5.75 kB / 0.7548 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.4151, allocations: 256.2 kB / 0.755 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.315e-06/0.4151, allocations: 0 / 0.755 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001266/0.4163, allocations: 0.5863 MB / 0.7556 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.4164, allocations: 66.78 kB / 0.7557 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.4168, allocations: 425.2 kB / 0.7561 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.4168, allocations: 37.36 kB / 0.7561 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.417, allocations: 331.6 kB / 0.7564 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.4171, allocations: 176.9 kB / 0.7566 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.4172, allocations: 96.17 kB / 0.7567 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.4173, allocations: 364.9 kB / 0.757 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.4177, allocations: 192.9 kB / 0.7572 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.4181, allocations: 280.6 kB / 0.7575 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.4188, allocations: 461.8 kB / 0.7579 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4188, allocations: 1.219 kB / 0.7579 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009577/0.4198, allocations: 0.587 MB / 0.7585 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.4198, allocations: 40.53 kB / 0.7585 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4198, allocations: 5.219 kB / 0.7585 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4198, allocations: 5.25 kB / 0.7585 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.4204, allocations: 113.5 kB / 0.7586 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4204, allocations: 8.703 kB / 0.7587 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.4207, allocations: 54.94 kB / 0.7587 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.4207, allocations: 21.64 kB / 0.7587 GB, free: 6.07 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0001951/0.4209, allocations: 211.7 kB / 0.7589 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.421, allocations: 57.69 kB / 0.759 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.4211, allocations: 69.62 kB / 0.759 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4211, allocations: 5.438 kB / 0.7591 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4211, allocations: 0 / 0.7591 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4211, allocations: 4 kB / 0.7591 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.4225, allocations: 0.9984 MB / 0.76 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4225, allocations: 7.875 kB / 0.76 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.423, allocations: 95.78 kB / 0.7601 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.423, allocations: 2.938 kB / 0.7601 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.423, allocations: 6.938 kB / 0.7601 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.423, allocations: 5.344 kB / 0.7601 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.423, allocations: 4 kB / 0.7601 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.4243, allocations: 0.7614 MB / 0.7609 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4244, allocations: 102.9 kB / 0.761 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.4245, allocations: 11.45 kB / 0.761 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.4248, allocations: 22.95 kB / 0.761 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.4248, allocations: 40.83 kB / 0.7611 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.4249, allocations: 12.41 kB / 0.7611 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002631/0.4251, allocations: 295 kB / 0.7614 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4251, allocations: 1.062 kB / 0.7614 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004238/0.4256, allocations: 145.1 kB / 0.7615 GB, free: 4.254 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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 9.207e-05/0.4256, allocations: 113.8 kB / 0.7616 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000837/0.4265, allocations: 490.4 kB / 0.7621 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4265, allocations: 0 / 0.7621 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.4269, allocations: 202.5 kB / 0.7623 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.4276, allocations: 152.6 kB / 0.7624 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.4299, allocations: 1.347 MB / 0.7637 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4301, allocations: 294 kB / 0.764 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002338/0.4304, allocations: 66.69 kB / 0.7641 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.4305, allocations: 42.88 kB / 0.7641 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.4305, allocations: 3.938 kB / 0.7641 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of Templates: time 0.01066/0.4411, allocations: 5.827 MB / 0.7698 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.051239928929135] Failed to read output from testmodel.py, exit status != 0: 0.44895294203888625 0.46250607000000005 0.053575056 Calling exit ...