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.0007524/0.0007524, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0007519/0.0007519, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.851/0.851, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 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.546/0.546, allocations: 114 MB / 374.7 MB, free: 8.719 MB / 346.7 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.613e-06/1.613e-06, allocations: 0 / 0.5554 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.422e-05, allocations: 9.938 kB / 0.5554 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003262/0.003286, allocations: 3.357 MB / 0.5587 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.005223, allocations: 1.34 MB / 0.56 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.005548, allocations: 39.69 kB / 0.56 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.005788, allocations: 126.6 kB / 0.5601 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.006174, allocations: 182.5 kB / 0.5603 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.006976, allocations: 0.5839 MB / 0.5609 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007586/0.007735, allocations: 0.9797 MB / 0.5618 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.00807, allocations: 230.2 kB / 0.562 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.008538, allocations: 0.5104 MB / 0.5625 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.008794, allocations: 259.1 kB / 0.5628 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/0.008868, allocations: 80 kB / 0.5629 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.74e-05/0.008925, allocations: 80 kB / 0.5629 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.00902, allocations: 187.2 kB / 0.5631 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.009168, allocations: 243.2 kB / 0.5634 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006966/0.009865, allocations: 0.9188 MB / 0.5643 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.009869, allocations: 4 kB / 0.5643 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.222e-06/0.00987, allocations: 0 / 0.5643 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.009882, allocations: 4 kB / 0.5643 GB, free: 9.184 MB / 0.5261 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.001404/0.01129, allocations: 1.111 MB / 0.5653 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.01132, allocations: 12.62 kB / 0.5654 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.01144, allocations: 100.3 kB / 0.5655 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.01216, allocations: 0.5576 MB / 0.566 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.797e-05/0.01226, allocations: 148.4 kB / 0.5661 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.01232, allocations: 56.38 kB / 0.5662 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.01305, allocations: 0.76 MB / 0.5669 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.01306, allocations: 12.11 kB / 0.5669 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.0131, allocations: 24.12 kB / 0.567 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01311, allocations: 16 kB / 0.567 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.01369, allocations: 427.6 kB / 0.5674 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.01538, allocations: 1.811 MB / 0.5692 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.01611, allocations: 486.3 kB / 0.5696 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.01637, allocations: 208.7 kB / 0.5698 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.0164, allocations: 4 kB / 0.5698 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.01681, allocations: 333.6 kB / 0.5701 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.747e-06/0.01682, allocations: 4 kB / 0.5702 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.0008831/0.0177, allocations: 0.6185 MB / 0.5708 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.01775, allocations: 114.5 kB / 0.5709 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.01818, allocations: 0.5784 MB / 0.5714 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.01821, allocations: 45.64 kB / 0.5715 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.0184, allocations: 361 kB / 0.5718 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.01851, allocations: 166.6 kB / 0.572 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.01861, allocations: 98.28 kB / 0.5721 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01876, allocations: 374.8 kB / 0.5724 GB, free: 492 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.01904, allocations: 213.1 kB / 0.5726 GB, free: 268 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.01938, allocations: 375.2 kB / 0.573 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.01999, allocations: 474.9 kB / 0.5734 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01999, allocations: 4 kB / 0.5734 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007131/0.02071, allocations: 0.6291 MB / 0.5741 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.02074, allocations: 41.62 kB / 0.5741 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.02075, allocations: 4 kB / 0.5741 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.02076, allocations: 4 kB / 0.5741 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.02101, allocations: 108.2 kB / 0.5742 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.02102, allocations: 11.94 kB / 0.5742 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.02121, allocations: 63.64 kB / 0.5743 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.02123, allocations: 20 kB / 0.5743 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003563/0.02159, allocations: 343.1 kB / 0.5746 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004196/0.02201, allocations: 351.2 kB / 0.575 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004806/0.02249, allocations: 458.9 kB / 0.5754 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.02249, allocations: 0 / 0.5754 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0006265/0.02312, allocations: 0.6058 MB / 0.576 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.02314, allocations: 37.69 kB / 0.576 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.02314, allocations: 4 kB / 0.576 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.02315, allocations: 7.938 kB / 0.576 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.02336, allocations: 103.8 kB / 0.5761 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.02337, allocations: 7.984 kB / 0.5761 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.02355, allocations: 51.94 kB / 0.5762 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.02357, allocations: 27.98 kB / 0.5762 GB, free: 12.34 MB / 0.5417 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.000111/0.02368, allocations: 208.1 kB / 0.5764 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.02374, allocations: 71.53 kB / 0.5765 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.512e-05/0.02382, allocations: 78.7 kB / 0.5766 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.02383, allocations: 4 kB / 0.5766 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.02383, allocations: 0 / 0.5766 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.02384, allocations: 7.922 kB / 0.5766 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.02421, allocations: 456.8 kB / 0.577 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.02421, allocations: 7.938 kB / 0.577 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.02444, allocations: 83.89 kB / 0.5771 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.02444, allocations: 0 / 0.5771 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.02446, allocations: 8 kB / 0.5771 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.02447, allocations: 15.86 kB / 0.5771 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.02447, allocations: 3.984 kB / 0.5771 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.02535, allocations: 0.7294 MB / 0.5778 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.0255, allocations: 119.4 kB / 0.578 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.02554, allocations: 15.98 kB / 0.578 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.02572, allocations: 39.89 kB / 0.578 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.02579, allocations: 23.95 kB / 0.578 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.02581, allocations: 23.98 kB / 0.578 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006348/0.02644, allocations: 407.1 kB / 0.5784 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.02644, allocations: 0 / 0.5784 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003761/0.02682, allocations: 223.4 kB / 0.5787 GB, free: 9.793 MB / 0.5417 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.0001011/0.02692, allocations: 107.2 kB / 0.5788 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009054/0.02783, allocations: 0.8129 MB / 0.5795 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.02783, allocations: 0 / 0.5795 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.02809, allocations: 211.8 kB / 0.5797 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.02859, allocations: 195 kB / 0.5799 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.02995, allocations: 1.183 MB / 0.5811 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.03013, allocations: 322.9 kB / 0.5814 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.03026, allocations: 56.42 kB / 0.5815 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/0.03026, allocations: 0 / 0.5815 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of Templates: time 0.007879/0.03814, allocations: 8.936 MB / 0.5902 GB, free: 13.95 MB / 0.5573 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.671298218891025] Failed to read output from testmodel.py, exit status != 0: 0.04332189727574587 0.05159107 0.039972467000000005 Calling exit ...