Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.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.001739/0.001739, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.00191/0.00191, allocations: 186 kB / 20.78 MB, free: 1.539 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.414/1.414, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.628/2.628, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 63.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9355/0.9375, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004621/0.9422, allocations: 3.75 MB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.9447, allocations: 1.342 MB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000486/0.9451, allocations: 29.34 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.9455, allocations: 128 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.946, allocations: 186.6 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.9471, allocations: 0.5832 MB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009905/0.9481, allocations: 0.9692 MB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.9485, allocations: 243.5 kB / 1.279 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004562/0.949, allocations: 377.8 kB / 1.279 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.9493, allocations: 352.6 kB / 1.279 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.9495, allocations: 77.59 kB / 1.279 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.9496, allocations: 78.59 kB / 1.279 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.9498, allocations: 182 kB / 1.28 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.95, allocations: 380.4 kB / 1.28 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.9512, allocations: 0.8938 MB / 1.281 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9512, allocations: 0 / 1.281 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9512, allocations: 4.75 kB / 1.281 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.9512, allocations: 0.75 kB / 1.281 GB, free: 1.637 MB / 0.9981 GB 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.002235/0.9534, allocations: 1.206 MB / 1.282 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.9535, allocations: 8.844 kB / 1.282 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.9536, allocations: 95.84 kB / 1.282 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.9537, allocations: 99.5 kB / 1.282 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/0.9547, allocations: 0.6248 MB / 1.283 GB, free: 244 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.45e-05/0.9548, allocations: 99.77 kB / 1.283 GB, free: 156 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/0.9549, allocations: 52.09 kB / 1.283 GB, free: 140 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.956, allocations: 0.6004 MB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.956, allocations: 7.938 kB / 1.284 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.956, allocations: 21.03 kB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.956, allocations: 15.44 kB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.9571, allocations: 420.8 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.9605, allocations: 2.098 MB / 1.286 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.9619, allocations: 499 kB / 1.286 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/0.9623, allocations: 211.1 kB / 1.287 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.9624, allocations: 9.016 kB / 1.287 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006868/0.9631, allocations: 281.8 kB / 1.287 GB, free: 13.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 2.555e-06/0.9631, allocations: 4 kB / 1.287 GB, free: 13.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.001728/0.9648, allocations: 0.6164 MB / 1.288 GB, free: 13.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.9649, allocations: 86.61 kB / 1.288 GB, free: 13.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.9658, allocations: 0.6203 MB / 1.288 GB, free: 13.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.9659, allocations: 36.39 kB / 1.288 GB, free: 13.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.9662, allocations: 358.5 kB / 1.289 GB, free: 12.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.9664, allocations: 157.4 kB / 1.289 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.9665, allocations: 94 kB / 1.289 GB, free: 12.69 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.9667, allocations: 327.6 kB / 1.289 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.9672, allocations: 185.5 kB / 1.289 GB, free: 12.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.9677, allocations: 278.3 kB / 1.29 GB, free: 12.13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009937/0.9687, allocations: 476.6 kB / 1.29 GB, free: 11.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.9687, allocations: 5.25 kB / 1.29 GB, free: 11.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001274/0.97, allocations: 0.6032 MB / 1.291 GB, free: 11.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.9701, allocations: 38.14 kB / 1.291 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.9701, allocations: 0 / 1.291 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.9701, allocations: 6.984 kB / 1.291 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.9706, allocations: 102.7 kB / 1.291 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.9706, allocations: 13.56 kB / 1.291 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.971, allocations: 68.67 kB / 1.291 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.971, allocations: 24.92 kB / 1.291 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005772/0.9716, allocations: 307.5 kB / 1.291 GB, free: 11.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005007/0.9721, allocations: 268.9 kB / 1.291 GB, free: 11.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008234/0.9729, allocations: 451 kB / 1.292 GB, free: 10.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.9729, allocations: 2.375 kB / 1.292 GB, free: 10.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001115/0.974, allocations: 0.5806 MB / 1.292 GB, free: 10.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.9741, allocations: 38.12 kB / 1.292 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.9741, allocations: 0 / 1.292 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/0.9741, allocations: 6.312 kB / 1.293 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.9745, allocations: 114.5 kB / 1.293 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.9745, allocations: 3.406 kB / 1.293 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.9749, allocations: 52.17 kB / 1.293 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.9749, allocations: 19.73 kB / 1.293 GB, free: 10.48 MB / 1.014 GB 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.0002182/0.9751, allocations: 207.7 kB / 1.293 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.9752, allocations: 73.62 kB / 1.293 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.9754, allocations: 85.8 kB / 1.293 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.9754, allocations: 3.375 kB / 1.293 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.9754, allocations: 1.828 kB / 1.293 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.9754, allocations: 2.016 kB / 1.293 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008/0.9762, allocations: 0.6287 MB / 1.294 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.9762, allocations: 0 / 1.294 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.9767, allocations: 86.8 kB / 1.294 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.9767, allocations: 2.969 kB / 1.294 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.9767, allocations: 6.656 kB / 1.294 GB, free: 9.793 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.9767, allocations: 10.41 kB / 1.294 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9767, allocations: 1.469 kB / 1.294 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.9782, allocations: 0.735 MB / 1.294 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.9784, allocations: 192.3 kB / 1.295 GB, free: 9.277 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.9785, allocations: 12.55 kB / 1.295 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.9789, allocations: 32.08 kB / 1.295 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.9789, allocations: 28.72 kB / 1.295 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.979, allocations: 17.3 kB / 1.295 GB, free: 9.258 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005256/0.9795, allocations: 436.6 kB / 1.295 GB, free: 9.062 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9795, allocations: 0 / 1.295 GB, free: 9.062 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006599/0.9802, allocations: 219.6 kB / 1.295 GB, free: 9.004 MB / 1.014 GB 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.002077/0.9822, allocations: 1.286 MB / 1.297 GB, free: 8.125 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.9839, allocations: 0.7531 MB / 1.297 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9839, allocations: 2.438 kB / 1.297 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.9844, allocations: 206.1 kB / 1.298 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.9852, allocations: 207.2 kB / 1.298 GB, free: 7.648 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.9939, allocations: 5.376 MB / 1.303 GB, free: 4.762 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.9945, allocations: 0.9163 MB / 1.304 GB, free: 4.051 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004722/0.995, allocations: 100.2 kB / 1.304 GB, free: 4.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.9954, allocations: 260.4 kB / 1.304 GB, free: 3.824 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.9954, allocations: 0 / 1.304 GB, free: 3.824 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05138/1.047, allocations: 14.12 MB / 1.318 GB, free: 2.547 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.868/9.914, allocations: 5.531 kB / 1.318 GB, free: 2.547 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Examples.LimPID_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.663572659017518] Failed to read output from testmodel.py, exit status != 0: 9.992030941008125 10.011792744 9.056879296 Calling exit ...