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.001823/0.001823, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.002291/0.002291, allocations: 163.9 kB / 23.76 MB, free: 4.191 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.583/1.583, allocations: 177.2 MB / 204.1 MB, free: 8.895 MB / 190.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.9432/0.9432, allocations: 113.9 MB / 374.5 MB, free: 12.9 MB / 350.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.002199/0.002199, allocations: 76.95 kB / 0.555 GB, free: 2.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1962, allocations: 89.13 MB / 0.6421 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.006299/0.2025, allocations: 3.352 MB / 0.6453 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.2056, allocations: 1.321 MB / 0.6466 GB, free: 4.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004426/0.206, allocations: 39.69 kB / 0.6467 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.2064, allocations: 126.6 kB / 0.6468 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005602/0.207, allocations: 194.5 kB / 0.647 GB, free: 4.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.2082, allocations: 0.5704 MB / 0.6475 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.2093, allocations: 0.9604 MB / 0.6485 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.2098, allocations: 238.2 kB / 0.6487 GB, free: 2.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.2103, allocations: 378.4 kB / 0.649 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004504/0.2107, allocations: 322.1 kB / 0.6494 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.2108, allocations: 80 kB / 0.6494 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.211, allocations: 83.94 kB / 0.6495 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.2112, allocations: 187.3 kB / 0.6497 GB, free: 1.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.2115, allocations: 298.2 kB / 0.65 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.2125, allocations: 0.91 MB / 0.6509 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2125, allocations: 0 / 0.6509 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2125, allocations: 4 kB / 0.6509 GB, free: 0.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.2126, allocations: 0 / 0.6509 GB, free: 0.5 MB / 0.545 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.002219/0.2148, allocations: 1.129 MB / 0.652 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2148, allocations: 16.03 kB / 0.652 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.215, allocations: 96.33 kB / 0.6521 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.2162, allocations: 0.5544 MB / 0.6526 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.2163, allocations: 156.4 kB / 0.6528 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.2164, allocations: 52.38 kB / 0.6528 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.2177, allocations: 0.7595 MB / 0.6536 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2177, allocations: 7.938 kB / 0.6536 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.2178, allocations: 24 kB / 0.6536 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.2178, allocations: 15.98 kB / 0.6536 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.2189, allocations: 419.7 kB / 0.654 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/0.2218, allocations: 1.823 MB / 0.6558 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.2231, allocations: 484.4 kB / 0.6562 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.2236, allocations: 201 kB / 0.6564 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.2236, allocations: 15.92 kB / 0.6565 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000718/0.2244, allocations: 333.5 kB / 0.6568 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.304e-06/0.2244, allocations: 0 / 0.6568 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001681/0.226, allocations: 0.6181 MB / 0.6574 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/0.2261, allocations: 118.5 kB / 0.6575 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008661/0.227, allocations: 0.5708 MB / 0.658 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.227, allocations: 37.7 kB / 0.6581 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.2274, allocations: 373 kB / 0.6584 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.2275, allocations: 162.6 kB / 0.6586 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.2277, allocations: 94.34 kB / 0.6587 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.2279, allocations: 378.8 kB / 0.659 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/0.2284, allocations: 213.1 kB / 0.6592 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/0.2291, allocations: 371.2 kB / 0.6596 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2301, allocations: 478.9 kB / 0.6601 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2301, allocations: 0 / 0.6601 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001373/0.2315, allocations: 0.6407 MB / 0.6607 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.2315, allocations: 35.89 kB / 0.6607 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2315, allocations: 0 / 0.6607 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.2316, allocations: 11.94 kB / 0.6607 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.2321, allocations: 104.2 kB / 0.6608 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.2321, allocations: 15.92 kB / 0.6608 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.2325, allocations: 67.59 kB / 0.6609 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.2325, allocations: 19.98 kB / 0.6609 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007411/0.2333, allocations: 339.1 kB / 0.6613 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005613/0.2338, allocations: 355.2 kB / 0.6616 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009148/0.2348, allocations: 458.9 kB / 0.662 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.252e-06/0.2348, allocations: 4 kB / 0.662 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001184/0.2359, allocations: 0.6058 MB / 0.6626 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.236, allocations: 33.7 kB / 0.6627 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.236, allocations: 3.984 kB / 0.6627 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.513e-06/0.236, allocations: 8 kB / 0.6627 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.2364, allocations: 103.8 kB / 0.6628 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2365, allocations: 4 kB / 0.6628 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.2368, allocations: 51.75 kB / 0.6628 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.2369, allocations: 24.16 kB / 0.6628 GB, free: 3.637 MB / 0.5606 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.0002005/0.2371, allocations: 212.1 kB / 0.663 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2372, allocations: 79.47 kB / 0.6631 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.2374, allocations: 78.7 kB / 0.6632 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2374, allocations: 4 kB / 0.6632 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2374, allocations: 0 / 0.6632 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2374, allocations: 3.984 kB / 0.6632 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/0.238, allocations: 456.8 kB / 0.6636 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.238, allocations: 4 kB / 0.6636 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.2385, allocations: 91.81 kB / 0.6637 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2385, allocations: 4 kB / 0.6637 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.2385, allocations: 12 kB / 0.6637 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2385, allocations: 3.938 kB / 0.6637 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2385, allocations: 0 / 0.6637 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.2401, allocations: 0.7372 MB / 0.6645 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.2404, allocations: 115.4 kB / 0.6646 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.2404, allocations: 8 kB / 0.6646 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.2409, allocations: 39.95 kB / 0.6646 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.241, allocations: 31.94 kB / 0.6647 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.241, allocations: 19.98 kB / 0.6647 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005026/0.2415, allocations: 403.1 kB / 0.6651 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2415, allocations: 0 / 0.6651 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006347/0.2421, allocations: 231.4 kB / 0.6653 GB, free: 1.086 MB / 0.5606 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.0001532/0.2423, allocations: 107.2 kB / 0.6654 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.244, allocations: 0.8128 MB / 0.6662 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.244, allocations: 0 / 0.6662 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.2445, allocations: 215.9 kB / 0.6664 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.2454, allocations: 200.6 kB / 0.6666 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.2476, allocations: 1.182 MB / 0.6677 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.2479, allocations: 322.9 kB / 0.668 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003434/0.2483, allocations: 88.97 kB / 0.6681 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.2484, allocations: 48.48 kB / 0.6682 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.2484, allocations: 0 / 0.6682 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.01566/0.2641, allocations: 8.06 MB / 0.676 GB, free: 6.141 MB / 0.5762 GB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.809101021965034] Failed to read output from testmodel.py, exit status != 0: 0.27271507401019335 0.28648394600000004 0.070941713 Calling exit ...