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.001362/0.001362, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001381/0.001381, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.294/1.294, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 179] 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.002221/0.002221, allocations: 278.6 kB / 303 MB, free: 3.582 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 0.9711/0.9711, allocations: 180.9 MB / 0.5261 GB, free: 2.77 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: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 99.83 kB / 0.7247 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4183, allocations: 94.15 MB / 0.8167 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.003872/0.4222, allocations: 4.154 MB / 0.8207 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.4238, allocations: 1.334 MB / 0.822 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.424, allocations: 20.97 kB / 0.8221 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.4243, allocations: 127.8 kB / 0.8222 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.4245, allocations: 179.1 kB / 0.8224 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.4252, allocations: 425 kB / 0.8228 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006325/0.4258, allocations: 0.9571 MB / 0.8237 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.4262, allocations: 304.2 kB / 0.824 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.4264, allocations: 332.7 kB / 0.8243 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.4267, allocations: 339.4 kB / 0.8246 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/0.4268, allocations: 89.72 kB / 0.8247 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.4268, allocations: 91.69 kB / 0.8248 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.4269, allocations: 176.2 kB / 0.825 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.4271, allocations: 395.7 kB / 0.8253 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.428, allocations: 1.071 MB / 0.8264 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.428, allocations: 0 / 0.8264 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.428, allocations: 0.8438 kB / 0.8264 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.428, allocations: 0 / 0.8264 GB, free: 0.8047 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.001405/0.4294, allocations: 1.103 MB / 0.8275 GB, free: 4 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.4294, allocations: 8.344 kB / 0.8275 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.4296, allocations: 102.4 kB / 0.8276 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.4297, allocations: 88.69 kB / 0.8277 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008355/0.4305, allocations: 0.5708 MB / 0.8282 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.4305, allocations: 42.86 kB / 0.8283 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.4306, allocations: 62.31 kB / 0.8283 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009575/0.4316, allocations: 0.5984 MB / 0.8289 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.4316, allocations: 12.55 kB / 0.8289 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.4316, allocations: 32.55 kB / 0.8289 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.4317, allocations: 17.16 kB / 0.829 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/0.4325, allocations: 452.2 kB / 0.8294 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.4351, allocations: 1.997 MB / 0.8313 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000791/0.4359, allocations: 424.2 kB / 0.8317 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.4363, allocations: 227.4 kB / 0.832 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.4364, allocations: 6 kB / 0.832 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004788/0.4368, allocations: 261.9 kB / 0.8322 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.734e-06/0.4368, allocations: 4 kB / 0.8322 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001146/0.438, allocations: 0.5815 MB / 0.8328 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.438, allocations: 57.88 kB / 0.8328 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.4385, allocations: 443.9 kB / 0.8333 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.4385, allocations: 37.28 kB / 0.8333 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.4387, allocations: 333.7 kB / 0.8336 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.4389, allocations: 173.7 kB / 0.8338 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.439, allocations: 93.97 kB / 0.8339 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4392, allocations: 366.2 kB / 0.8342 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.4395, allocations: 164 kB / 0.8344 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.4399, allocations: 255.8 kB / 0.8346 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.4406, allocations: 448.8 kB / 0.835 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.4406, allocations: 1.906 kB / 0.8351 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009375/0.4416, allocations: 0.5688 MB / 0.8356 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.4416, allocations: 33.03 kB / 0.8356 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4416, allocations: 2.625 kB / 0.8356 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4416, allocations: 5.25 kB / 0.8356 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.4421, allocations: 115.9 kB / 0.8358 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4421, allocations: 5.875 kB / 0.8358 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.4423, allocations: 61.91 kB / 0.8358 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.4424, allocations: 18.09 kB / 0.8358 GB, free: 11.11 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.0002258/0.4426, allocations: 210.5 kB / 0.836 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.4427, allocations: 61.02 kB / 0.8361 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.4428, allocations: 71.67 kB / 0.8362 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4428, allocations: 8.516 kB / 0.8362 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4428, allocations: 0 / 0.8362 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4428, allocations: 2.531 kB / 0.8362 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.4445, allocations: 1.182 MB / 0.8373 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4445, allocations: 0.6094 kB / 0.8373 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.4449, allocations: 98.69 kB / 0.8374 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4449, allocations: 1.125 kB / 0.8374 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.445, allocations: 13.27 kB / 0.8374 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.445, allocations: 2.938 kB / 0.8374 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.445, allocations: 0 / 0.8374 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.4463, allocations: 0.7649 MB / 0.8382 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.4465, allocations: 175.5 kB / 0.8384 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.4465, allocations: 10.17 kB / 0.8384 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.4468, allocations: 21.42 kB / 0.8384 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.4469, allocations: 41.55 kB / 0.8384 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.4469, allocations: 10.67 kB / 0.8384 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003396/0.4472, allocations: 308.7 kB / 0.8387 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.4472, allocations: 4 kB / 0.8387 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004137/0.4476, allocations: 146.2 kB / 0.8389 GB, free: 9.363 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.00178/0.4494, allocations: 1.316 MB / 0.8402 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009291/0.4503, allocations: 460.2 kB / 0.8406 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4503, allocations: 0.5 kB / 0.8406 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.4507, allocations: 214.2 kB / 0.8408 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.4514, allocations: 152.6 kB / 0.8409 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.4582, allocations: 4.801 MB / 0.8456 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.4587, allocations: 0.8875 MB / 0.8465 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002499/0.459, allocations: 63.55 kB / 0.8466 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.4593, allocations: 218.1 kB / 0.8468 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.4593, allocations: 0 / 0.8468 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.496, allocations: 11.4 MB / 0.8579 GB, free: 420 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.281, allocations: 10.5 kB / 0.8579 GB, free: 416 kB / 0.5919 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.876985922921449] Failed to read output from testmodel.py, exit status != 0: 8.361286422703415 8.37453787 7.943915828 Calling exit ...