Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.00181/0.00181, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.002063/0.002063, allocations: 216.6 kB / 22.99 MB, free: 4.867 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002/1.002, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 179] 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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") [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.002159/0.002159, allocations: 66.23 kB / 0.6415 GB, free: 9.664 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2104, allocations: 89.17 MB / 0.7286 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005345/0.2157, allocations: 3.352 MB / 0.7319 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003038/0.2188, allocations: 1.329 MB / 0.7332 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.2191, allocations: 35.75 kB / 0.7332 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.2195, allocations: 130.6 kB / 0.7333 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.22, allocations: 182.5 kB / 0.7335 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2212, allocations: 0.569 MB / 0.7341 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.2222, allocations: 0.9604 MB / 0.735 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004469/0.2227, allocations: 238.2 kB / 0.7352 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.2231, allocations: 378.4 kB / 0.7356 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.2236, allocations: 326 kB / 0.7359 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.2237, allocations: 80 kB / 0.736 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.2238, allocations: 80 kB / 0.736 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.224, allocations: 187.2 kB / 0.7362 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.2242, allocations: 298.2 kB / 0.7365 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009793/0.2252, allocations: 0.9139 MB / 0.7374 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2252, allocations: 0 / 0.7374 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2252, allocations: 0 / 0.7374 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.2252, allocations: 4 kB / 0.7374 GB, free: 7.492 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002188/0.2274, allocations: 1.131 MB / 0.7385 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2275, allocations: 11.97 kB / 0.7385 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.2276, allocations: 100.3 kB / 0.7386 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.2289, allocations: 0.5506 MB / 0.7392 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.2291, allocations: 148.4 kB / 0.7393 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.331e-05/0.2292, allocations: 52.38 kB / 0.7393 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.2304, allocations: 0.7751 MB / 0.7401 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2304, allocations: 0 / 0.7401 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/0.2305, allocations: 20 kB / 0.7401 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.2305, allocations: 12 kB / 0.7401 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009712/0.2314, allocations: 427.6 kB / 0.7405 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.2342, allocations: 1.827 MB / 0.7423 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.2354, allocations: 476.5 kB / 0.7428 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.2358, allocations: 212.8 kB / 0.743 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.2359, allocations: 7.938 kB / 0.743 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007049/0.2366, allocations: 333.6 kB / 0.7433 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.004e-06/0.2366, allocations: 0 / 0.7433 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001532/0.2381, allocations: 0.622 MB / 0.7439 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.2382, allocations: 110.6 kB / 0.744 GB, free: 416 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.2389, allocations: 0.5786 MB / 0.7446 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.239, allocations: 33.7 kB / 0.7446 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.2393, allocations: 369 kB / 0.745 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.2394, allocations: 162.6 kB / 0.7451 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.2396, allocations: 94.33 kB / 0.7452 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.2398, allocations: 379.9 kB / 0.7456 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.2402, allocations: 217.1 kB / 0.7458 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.2408, allocations: 371.7 kB / 0.7461 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/0.2418, allocations: 473.9 kB / 0.7466 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2418, allocations: 4 kB / 0.7466 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001244/0.243, allocations: 0.6316 MB / 0.7472 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.243, allocations: 41.62 kB / 0.7473 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2431, allocations: 4 kB / 0.7473 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.2431, allocations: 4 kB / 0.7473 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.2436, allocations: 107.8 kB / 0.7474 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2436, allocations: 7.938 kB / 0.7474 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.244, allocations: 71.78 kB / 0.7474 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.244, allocations: 20 kB / 0.7475 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006186/0.2446, allocations: 339.1 kB / 0.7478 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005944/0.2452, allocations: 355.2 kB / 0.7481 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009042/0.2461, allocations: 457.9 kB / 0.7486 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.2461, allocations: 0 / 0.7486 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001133/0.2473, allocations: 0.612 MB / 0.7492 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.2473, allocations: 33.69 kB / 0.7492 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2473, allocations: 4.312 kB / 0.7492 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-06/0.2473, allocations: 8 kB / 0.7492 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.2478, allocations: 99.89 kB / 0.7493 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2478, allocations: 11.92 kB / 0.7493 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2481, allocations: 55.75 kB / 0.7494 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.2482, allocations: 23.98 kB / 0.7494 GB, free: 10.62 MB / 0.5762 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.0002032/0.2484, allocations: 206.6 kB / 0.7496 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.2485, allocations: 75.47 kB / 0.7496 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.2487, allocations: 86.7 kB / 0.7497 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2487, allocations: 4 kB / 0.7497 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2487, allocations: 0 / 0.7497 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2487, allocations: 3.984 kB / 0.7497 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006039/0.2493, allocations: 456.8 kB / 0.7502 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2493, allocations: 4 kB / 0.7502 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.2497, allocations: 83.83 kB / 0.7503 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2497, allocations: 0 / 0.7503 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.2498, allocations: 15.98 kB / 0.7503 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.2498, allocations: 8 kB / 0.7503 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2498, allocations: 0 / 0.7503 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.2515, allocations: 0.7291 MB / 0.751 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.2517, allocations: 119.4 kB / 0.7511 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.2518, allocations: 8 kB / 0.7511 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.2522, allocations: 39.95 kB / 0.7512 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2523, allocations: 27.94 kB / 0.7512 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.2524, allocations: 19.94 kB / 0.7512 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005423/0.2529, allocations: 403.1 kB / 0.7516 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2529, allocations: 0 / 0.7516 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007039/0.2536, allocations: 239.2 kB / 0.7518 GB, free: 8.082 MB / 0.5762 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.0002191/0.2538, allocations: 111.1 kB / 0.7519 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.2556, allocations: 0.8154 MB / 0.7527 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.2556, allocations: 0 / 0.7527 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005213/0.2561, allocations: 199.8 kB / 0.7529 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.2571, allocations: 210.1 kB / 0.7531 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.2596, allocations: 1.194 MB / 0.7543 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.26, allocations: 318.9 kB / 0.7546 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003858/0.2603, allocations: 88.97 kB / 0.7547 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.2605, allocations: 47.42 kB / 0.7547 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.2605, allocations: 0 / 0.7547 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.4463/0.7068, allocations: 8.654 MB / 0.7632 GB, free: 33.41 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.843314420431852] Failed to read output from testmodel.py, exit status != 0: 0.7155121713876724 0.730037109 0.50167304 Calling exit ...