Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.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.001564/0.001564, allocations: 119 kB / 19.69 MB, free: 2.199 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.001615/0.001615, allocations: 224.8 kB / 23.01 MB, free: 5.047 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.053/1.053, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") [Timeout 660] "Notification: IBPSA 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.002108/0.002108, allocations: 74.67 kB / 0.6418 GB, free: 9.859 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2081, allocations: 89.17 MB / 0.7289 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.004344/0.2124, allocations: 2.075 MB / 0.7309 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.2156, allocations: 1.642 MB / 0.7325 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.216, allocations: 15.94 kB / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.2163, allocations: 83.06 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.2167, allocations: 87.19 kB / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.2177, allocations: 331.2 kB / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009606/0.2186, allocations: 0.6803 MB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.2191, allocations: 237.8 kB / 0.7339 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.2195, allocations: 267.1 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000432/0.2199, allocations: 282.5 kB / 0.7344 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2201, allocations: 76 kB / 0.7345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.2202, allocations: 91.98 kB / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.2204, allocations: 151.5 kB / 0.7347 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.2206, allocations: 294.4 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009027/0.2215, allocations: 0.8326 MB / 0.7358 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2215, allocations: 4 kB / 0.7358 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2216, allocations: 0 / 0.7358 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.2216, allocations: 0 / 0.7358 GB, free: 9.621 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001748/0.2233, allocations: 1.045 MB / 0.7368 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2233, allocations: 12.03 kB / 0.7368 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.2235, allocations: 68.52 kB / 0.7369 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.2241, allocations: 351 kB / 0.7372 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.2242, allocations: 45.38 kB / 0.7373 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.2242, allocations: 52.38 kB / 0.7373 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.2251, allocations: 499.5 kB / 0.7378 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2251, allocations: 192 / 0.7378 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.2251, allocations: 23.94 kB / 0.7378 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.2252, allocations: 16 kB / 0.7378 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.2258, allocations: 351.8 kB / 0.7382 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.2283, allocations: 1.5 MB / 0.7396 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/0.2291, allocations: 402.7 kB / 0.74 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.2294, allocations: 214 kB / 0.7402 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.2295, allocations: 11.98 kB / 0.7402 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000434/0.2299, allocations: 237.6 kB / 0.7405 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.2299, allocations: 0 / 0.7405 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.001064/0.231, allocations: 0.5339 MB / 0.741 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.2311, allocations: 111.2 kB / 0.7411 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.2315, allocations: 385.6 kB / 0.7415 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.2316, allocations: 41.69 kB / 0.7415 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.2318, allocations: 253.3 kB / 0.7417 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.2319, allocations: 162.5 kB / 0.7419 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.2321, allocations: 102.1 kB / 0.742 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.2323, allocations: 358.8 kB / 0.7423 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.2327, allocations: 186.8 kB / 0.7425 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.2332, allocations: 279.6 kB / 0.7428 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/0.234, allocations: 435.4 kB / 0.7432 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.234, allocations: 0 / 0.7432 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00111/0.2351, allocations: 0.5754 MB / 0.7438 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.2351, allocations: 41.64 kB / 0.7438 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2351, allocations: 4 kB / 0.7438 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2352, allocations: 4 kB / 0.7438 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.2356, allocations: 99.81 kB / 0.7439 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2356, allocations: 4 kB / 0.7439 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.236, allocations: 83.86 kB / 0.744 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.236, allocations: 20 kB / 0.744 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004621/0.2365, allocations: 285.1 kB / 0.7443 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000388/0.2369, allocations: 259.7 kB / 0.7445 GB, free: 324 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005856/0.2375, allocations: 383.4 kB / 0.7449 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.2375, allocations: 4 kB / 0.7449 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0008887/0.2384, allocations: 0.5208 MB / 0.7454 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.2384, allocations: 45.62 kB / 0.7455 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2384, allocations: 7.938 kB / 0.7455 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.2384, allocations: 8.219 kB / 0.7455 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.2387, allocations: 83.84 kB / 0.7455 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2387, allocations: 4 kB / 0.7456 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.2391, allocations: 71.72 kB / 0.7456 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.2391, allocations: 20 kB / 0.7456 GB, free: 15.14 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0002058/0.2394, allocations: 216.1 kB / 0.7458 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.2394, allocations: 51.66 kB / 0.7459 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008479/0.2403, allocations: 437.3 kB / 0.7463 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.2403, allocations: 4 kB / 0.7463 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2403, allocations: 3.938 kB / 0.7463 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2403, allocations: 0 / 0.7463 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.242, allocations: 1.108 MB / 0.7474 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2421, allocations: 4.188 kB / 0.7474 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.2424, allocations: 79.89 kB / 0.7475 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2424, allocations: 4 kB / 0.7475 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.2424, allocations: 12 kB / 0.7475 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2424, allocations: 0 / 0.7475 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.2424, allocations: 7.938 kB / 0.7475 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.2436, allocations: 0.7303 MB / 0.7482 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.2437, allocations: 51.7 kB / 0.7483 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.2437, allocations: 12 kB / 0.7483 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2439, allocations: 23.98 kB / 0.7483 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.244, allocations: 35.88 kB / 0.7483 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.244, allocations: 16 kB / 0.7484 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002999/0.2443, allocations: 275.1 kB / 0.7486 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2443, allocations: 0 / 0.7486 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005974/0.2449, allocations: 203.4 kB / 0.7488 GB, free: 11.77 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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 0.0002101/0.2451, allocations: 123.2 kB / 0.7489 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.2465, allocations: 0.7217 MB / 0.7496 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2465, allocations: 0 / 0.7496 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.2468, allocations: 179.7 kB / 0.7498 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.2475, allocations: 115.5 kB / 0.7499 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.2494, allocations: 0.9441 MB / 0.7508 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.2499, allocations: 0.8513 MB / 0.7517 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.2501, allocations: 55.36 kB / 0.7517 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2503, allocations: 43.36 kB / 0.7518 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2503, allocations: 0 / 0.7518 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of Templates: time 0.01323/0.2635, allocations: 6.315 MB / 0.7579 GB, free: 2.391 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.845550871919841] Failed to read output from testmodel.py, exit status != 0: 0.2737240702845156 0.6609657059999999 0.43611117899999996 Calling exit ...