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.001594/0.001594, allocations: 84.98 kB / 19.94 MB, free: 1.777 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.001732/0.001732, allocations: 162 kB / 23.21 MB, free: 4.902 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.356/1.356, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] 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.906/0.906, allocations: 114 MB / 373.9 MB, free: 13.26 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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5546 GB, free: 2.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.536e-05, allocations: 12.52 kB / 0.5546 GB, free: 2.676 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004743/0.004768, allocations: 3.375 MB / 0.5579 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.007297, allocations: 1.324 MB / 0.5592 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.007626, allocations: 39.69 kB / 0.5593 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.007948, allocations: 130.6 kB / 0.5594 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.008476, allocations: 182.5 kB / 0.5596 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.009627, allocations: 0.578 MB / 0.5601 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.01068, allocations: 0.9835 MB / 0.5611 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.01109, allocations: 234.2 kB / 0.5613 GB, free: 11.81 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006418/0.01173, allocations: 0.5065 MB / 0.5618 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.01209, allocations: 259.1 kB / 0.562 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.01221, allocations: 80 kB / 0.5621 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.01233, allocations: 80 kB / 0.5622 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.0125, allocations: 191.2 kB / 0.5624 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.01275, allocations: 235.2 kB / 0.5626 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009636/0.01371, allocations: 0.9227 MB / 0.5635 GB, free: 9.551 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01371, allocations: 4 kB / 0.5635 GB, free: 9.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01372, allocations: 0 / 0.5635 GB, free: 9.547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.01372, allocations: 0 / 0.5635 GB, free: 9.547 MB / 478.1 MB 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.002071/0.0158, allocations: 1.126 MB / 0.5646 GB, free: 8.383 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.01583, allocations: 8.625 kB / 0.5646 GB, free: 8.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.016, allocations: 100.3 kB / 0.5647 GB, free: 8.277 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.01704, allocations: 0.5537 MB / 0.5653 GB, free: 7.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.01719, allocations: 152.4 kB / 0.5654 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.01727, allocations: 48.38 kB / 0.5654 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.01849, allocations: 0.7639 MB / 0.5662 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.01851, allocations: 4.172 kB / 0.5662 GB, free: 6.625 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.01857, allocations: 28.12 kB / 0.5662 GB, free: 6.598 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.01859, allocations: 16 kB / 0.5662 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.0196, allocations: 423.7 kB / 0.5666 GB, free: 6.172 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.02225, allocations: 1.815 MB / 0.5684 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.02349, allocations: 492.2 kB / 0.5689 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.02398, allocations: 210.4 kB / 0.5691 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.02402, allocations: 4 kB / 0.5691 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000696/0.02471, allocations: 333.6 kB / 0.5694 GB, free: 3.234 MB / 478.1 MB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.02472, allocations: 0 / 0.5694 GB, free: 3.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.001555/0.02627, allocations: 0.6261 MB / 0.57 GB, free: 2.602 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.02635, allocations: 110.6 kB / 0.5701 GB, free: 2.469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.02702, allocations: 0.5746 MB / 0.5707 GB, free: 1.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.02707, allocations: 45.62 kB / 0.5707 GB, free: 1.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.02737, allocations: 361.2 kB / 0.5711 GB, free: 1.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.02751, allocations: 166.6 kB / 0.5712 GB, free: 1.316 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.02768, allocations: 94.3 kB / 0.5713 GB, free: 1.219 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.02787, allocations: 378.8 kB / 0.5717 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.02838, allocations: 217.1 kB / 0.5719 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/0.02897, allocations: 369.8 kB / 0.5722 GB, free: 204 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.02998, allocations: 482.9 kB / 0.5727 GB, free: 15.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.02998, allocations: 0 / 0.5727 GB, free: 15.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001314/0.0313, allocations: 0.6331 MB / 0.5733 GB, free: 15.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.03134, allocations: 33.64 kB / 0.5734 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.03135, allocations: 4 kB / 0.5734 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.03137, allocations: 7.938 kB / 0.5734 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.03188, allocations: 108.2 kB / 0.5735 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.03189, allocations: 11.94 kB / 0.5735 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.03231, allocations: 59.64 kB / 0.5735 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.03235, allocations: 23.98 kB / 0.5736 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006273/0.03298, allocations: 335.1 kB / 0.5739 GB, free: 14.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005536/0.03353, allocations: 359.2 kB / 0.5742 GB, free: 14.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000909/0.03444, allocations: 455 kB / 0.5747 GB, free: 13.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.03444, allocations: 0 / 0.5747 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001218/0.03566, allocations: 0.6096 MB / 0.5753 GB, free: 12.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.03569, allocations: 29.7 kB / 0.5753 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.0357, allocations: 4 kB / 0.5753 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.03571, allocations: 7.938 kB / 0.5753 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.03617, allocations: 107.8 kB / 0.5754 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.03618, allocations: 4 kB / 0.5754 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.03658, allocations: 59.95 kB / 0.5755 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.03662, allocations: 23.98 kB / 0.5755 GB, free: 12.7 MB / 494.1 MB 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.0001921/0.03681, allocations: 208.1 kB / 0.5757 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.03692, allocations: 71.53 kB / 0.5757 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.03708, allocations: 86.69 kB / 0.5758 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.03709, allocations: 4 kB / 0.5758 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.03709, allocations: 0 / 0.5758 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.0371, allocations: 3.938 kB / 0.5758 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.03768, allocations: 456.8 kB / 0.5763 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.03768, allocations: 7.938 kB / 0.5763 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.03816, allocations: 79.89 kB / 0.5764 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.03817, allocations: 7.984 kB / 0.5764 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.0382, allocations: 12 kB / 0.5764 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.03821, allocations: 7.938 kB / 0.5764 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.03821, allocations: 0 / 0.5764 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.03986, allocations: 0.7332 MB / 0.5771 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.04008, allocations: 119.4 kB / 0.5772 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.04016, allocations: 8 kB / 0.5772 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.04061, allocations: 43.89 kB / 0.5773 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.0407, allocations: 35.94 kB / 0.5773 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.04075, allocations: 15.98 kB / 0.5773 GB, free: 10.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004987/0.04124, allocations: 399.1 kB / 0.5777 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04124, allocations: 0 / 0.5777 GB, free: 10.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006182/0.04186, allocations: 227.4 kB / 0.5779 GB, free: 10.16 MB / 494.1 MB 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.0001411/0.042, allocations: 107.2 kB / 0.578 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.04375, allocations: 0.8129 MB / 0.5788 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.04375, allocations: 0 / 0.5788 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.04425, allocations: 203.9 kB / 0.579 GB, free: 8.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.04514, allocations: 203.6 kB / 0.5792 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.04724, allocations: 1.164 MB / 0.5803 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.04754, allocations: 322.9 kB / 0.5806 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000347/0.04789, allocations: 92.89 kB / 0.5807 GB, free: 7.172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.04804, allocations: 48.5 kB / 0.5808 GB, free: 7.125 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.04804, allocations: 4 kB / 0.5808 GB, free: 7.121 MB / 494.1 MB Notification: Performance of Templates: time 0.01499/0.06304, allocations: 7.964 MB / 0.5886 GB, free: 15.35 MB / 0.4981 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.207412023097277] Failed to read output from testmodel.py, exit status != 0: 0.07150880992412567 0.085198432 0.06849924 Calling exit ...