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.001344/0.001344, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.001459/0.001459, allocations: 210.3 kB / 23.75 MB, free: 4.539 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.781 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 0.9653/0.9653, allocations: 149.9 MB / 463.8 MB, free: 10.32 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.002091/0.002091, allocations: 63.44 kB / 0.6423 GB, free: 9.645 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1975, allocations: 89.18 MB / 0.7294 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005205/0.2027, allocations: 3.353 MB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002938/0.2056, allocations: 1.332 MB / 0.7339 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.2059, allocations: 31.75 kB / 0.734 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.2063, allocations: 130.6 kB / 0.7341 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005388/0.2069, allocations: 182.5 kB / 0.7343 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.208, allocations: 0.5672 MB / 0.7348 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.2091, allocations: 0.9682 MB / 0.7358 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.2095, allocations: 226.2 kB / 0.736 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/0.21, allocations: 386.3 kB / 0.7363 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004251/0.2104, allocations: 322.1 kB / 0.7366 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2105, allocations: 84 kB / 0.7367 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.2106, allocations: 80 kB / 0.7368 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.2108, allocations: 183.3 kB / 0.737 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.2111, allocations: 298.2 kB / 0.7373 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.2121, allocations: 0.91 MB / 0.7382 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2121, allocations: 0 / 0.7382 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2121, allocations: 0 / 0.7382 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.2121, allocations: 0 / 0.7382 GB, free: 7.473 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.002158/0.2143, allocations: 1.135 MB / 0.7393 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2143, allocations: 8.031 kB / 0.7393 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.2145, allocations: 100.3 kB / 0.7394 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.2156, allocations: 0.5545 MB / 0.7399 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.2158, allocations: 148.4 kB / 0.74 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.2159, allocations: 56.36 kB / 0.7401 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.2171, allocations: 0.7751 MB / 0.7409 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.2171, allocations: 4 kB / 0.7409 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/0.2172, allocations: 20 kB / 0.7409 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.2172, allocations: 12 kB / 0.7409 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/0.2182, allocations: 431.6 kB / 0.7413 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.2209, allocations: 1.819 MB / 0.7431 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.2221, allocations: 488.5 kB / 0.7435 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.2226, allocations: 206.8 kB / 0.7437 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.2226, allocations: 7.938 kB / 0.7437 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000689/0.2233, allocations: 341.5 kB / 0.7441 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.565e-06/0.2233, allocations: 0 / 0.7441 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001497/0.2248, allocations: 0.6181 MB / 0.7447 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.2249, allocations: 110.6 kB / 0.7448 GB, free: 380 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.2256, allocations: 0.5824 MB / 0.7454 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.2257, allocations: 33.7 kB / 0.7454 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.226, allocations: 369 kB / 0.7457 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.2261, allocations: 162.6 kB / 0.7459 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.2263, allocations: 94.33 kB / 0.746 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.2265, allocations: 378.8 kB / 0.7463 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.2269, allocations: 217.1 kB / 0.7466 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.2275, allocations: 367.1 kB / 0.7469 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009662/0.2285, allocations: 477.9 kB / 0.7474 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2285, allocations: 0 / 0.7474 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001263/0.2298, allocations: 0.6354 MB / 0.748 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.2298, allocations: 33.7 kB / 0.748 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2298, allocations: 4 kB / 0.748 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2298, allocations: 8.312 kB / 0.748 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.2303, allocations: 107.8 kB / 0.7481 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2303, allocations: 4 kB / 0.7481 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.2307, allocations: 68.69 kB / 0.7482 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.2308, allocations: 16 kB / 0.7482 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006163/0.2314, allocations: 339.1 kB / 0.7485 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005271/0.2319, allocations: 359.2 kB / 0.7489 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008641/0.2328, allocations: 461.9 kB / 0.7493 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-06/0.2328, allocations: 0 / 0.7493 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001162/0.2339, allocations: 0.6081 MB / 0.7499 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.234, allocations: 33.7 kB / 0.7499 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.234, allocations: 4 kB / 0.7499 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.234, allocations: 4 kB / 0.7499 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.2344, allocations: 103.8 kB / 0.75 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2344, allocations: 11.94 kB / 0.7501 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.2348, allocations: 56.03 kB / 0.7501 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.2349, allocations: 16 kB / 0.7501 GB, free: 10.61 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.0002239/0.2351, allocations: 212.1 kB / 0.7503 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2352, allocations: 75.47 kB / 0.7504 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.2354, allocations: 82.69 kB / 0.7505 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.2354, allocations: 8 kB / 0.7505 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2354, allocations: 0 / 0.7505 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2354, allocations: 4 kB / 0.7505 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.236, allocations: 456.8 kB / 0.7509 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.236, allocations: 0 / 0.7509 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.2364, allocations: 87.83 kB / 0.751 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.2364, allocations: 0 / 0.751 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.2365, allocations: 15.98 kB / 0.751 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2365, allocations: 0 / 0.751 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2365, allocations: 4 kB / 0.751 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.238, allocations: 0.733 MB / 0.7517 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.2383, allocations: 119.4 kB / 0.7519 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.2384, allocations: 8 kB / 0.7519 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.2388, allocations: 39.95 kB / 0.7519 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.2389, allocations: 35.88 kB / 0.7519 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.2389, allocations: 19.98 kB / 0.752 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004978/0.2394, allocations: 395.1 kB / 0.7523 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2394, allocations: 4 kB / 0.7523 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006373/0.2401, allocations: 231.3 kB / 0.7526 GB, free: 8.059 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.0001535/0.2402, allocations: 111.2 kB / 0.7527 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.2419, allocations: 0.8083 MB / 0.7535 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2419, allocations: 8.062 kB / 0.7535 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.2423, allocations: 195.8 kB / 0.7536 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.2432, allocations: 209.6 kB / 0.7538 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.2454, allocations: 1.223 MB / 0.755 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2457, allocations: 322.9 kB / 0.7554 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.2459, allocations: 55.36 kB / 0.7554 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.2459, allocations: 0 / 0.7554 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of Templates: time 0.4164/0.6623, allocations: 8.906 MB / 0.7641 GB, free: 32.72 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: 9.555365096777678] Failed to read output from testmodel.py, exit status != 0: 0.6720121358521283 0.687496099 0.47188111000000005 Calling exit ...