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.002073/0.002073, allocations: 92.72 kB / 20.21 MB, free: 4.199 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.002351/0.002351, allocations: 157.3 kB / 23.52 MB, free: 0.8906 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 1.492/1.492, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.9927/0.9927, allocations: 115 MB / 375.3 MB, free: 7.559 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.874e-06/1.874e-06, allocations: 0 / 480.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.992e-05, allocations: 5.156 kB / 480.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.00477/0.0048, allocations: 3.36 MB / 484.1 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.007734, allocations: 1.346 MB / 485.4 MB, free: 8.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007991/0.008534, allocations: 33.5 kB / 485.5 MB, free: 8.734 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004704/0.009004, allocations: 131.1 kB / 485.6 MB, free: 8.637 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000819/0.009823, allocations: 186.2 kB / 485.8 MB, free: 8.508 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.01096, allocations: 0.5639 MB / 486.4 MB, free: 8.191 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009154/0.01187, allocations: 0.9738 MB / 487.3 MB, free: 7.688 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.01228, allocations: 238 kB / 487.6 MB, free: 7.539 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.01281, allocations: 0.502 MB / 488.1 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.01311, allocations: 263.9 kB / 488.3 MB, free: 7.176 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.01323, allocations: 81.25 kB / 488.4 MB, free: 7.176 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.01335, allocations: 80.56 kB / 488.5 MB, free: 7.176 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.01347, allocations: 188.6 kB / 488.7 MB, free: 7.047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.01368, allocations: 234.5 kB / 488.9 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00084/0.01452, allocations: 0.9332 MB / 489.8 MB, free: 6.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01452, allocations: 2.062 kB / 489.8 MB, free: 6.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01452, allocations: 0 / 489.8 MB, free: 6.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.01453, allocations: 4.969 kB / 489.8 MB, free: 6.48 MB / 410.7 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.001908/0.01644, allocations: 1.123 MB / 491 MB, free: 5.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.01648, allocations: 9.594 kB / 491 MB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.0167, allocations: 141.6 kB / 491.1 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009772/0.01767, allocations: 0.5829 MB / 491.7 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.01779, allocations: 148.7 kB / 491.8 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.0179, allocations: 61.11 kB / 491.9 MB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.01901, allocations: 0.767 MB / 492.7 MB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.01902, allocations: 192 / 492.7 MB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.01908, allocations: 27.19 kB / 492.7 MB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.0191, allocations: 13.19 kB / 492.7 MB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.02005, allocations: 429 kB / 493.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.02258, allocations: 1.823 MB / 494.9 MB, free: 19.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.0237, allocations: 487.2 kB / 495.4 MB, free: 18.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.02414, allocations: 205.1 kB / 495.6 MB, free: 18.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.02418, allocations: 7.562 kB / 495.6 MB, free: 18.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/0.02481, allocations: 347.6 kB / 496 MB, free: 18.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.02482, allocations: 0 / 496 MB, free: 18.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.001486/0.0263, allocations: 0.6213 MB / 496.6 MB, free: 18.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.02634, allocations: 115.5 kB / 496.7 MB, free: 18.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.02699, allocations: 0.5803 MB / 497.3 MB, free: 18.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.02704, allocations: 37.11 kB / 497.3 MB, free: 18.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.02728, allocations: 363.1 kB / 497.7 MB, free: 17.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.512e-05/0.02737, allocations: 165.8 kB / 497.8 MB, free: 17.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.02757, allocations: 95.45 kB / 497.9 MB, free: 17.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.0278, allocations: 378.4 kB / 498.3 MB, free: 17.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.02826, allocations: 214.6 kB / 498.5 MB, free: 17.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.02876, allocations: 366.6 kB / 498.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.02962, allocations: 479.8 kB / 499.3 MB, free: 16.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.02963, allocations: 1.156 kB / 499.3 MB, free: 16.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001197/0.03082, allocations: 0.6497 MB / 500 MB, free: 16.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.03086, allocations: 40.52 kB / 0.4883 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.03087, allocations: 2.125 kB / 0.4883 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.03089, allocations: 5.562 kB / 0.4883 GB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.03138, allocations: 113.7 kB / 0.4884 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.03139, allocations: 5.062 kB / 0.4884 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.0318, allocations: 67.42 kB / 0.4885 GB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.03184, allocations: 18.62 kB / 0.4885 GB, free: 16.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005794/0.03242, allocations: 351.6 kB / 0.4888 GB, free: 15.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004706/0.03289, allocations: 350.9 kB / 0.4892 GB, free: 15.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000786/0.03368, allocations: 453.8 kB / 0.4896 GB, free: 15.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.03368, allocations: 1.062 kB / 0.4896 GB, free: 15.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001159/0.03484, allocations: 0.6334 MB / 0.4902 GB, free: 15.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.03488, allocations: 40.47 kB / 0.4903 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.03488, allocations: 9.094 kB / 0.4903 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.03489, allocations: 5.75 kB / 0.4903 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.03535, allocations: 103.4 kB / 0.4904 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.03536, allocations: 5.094 kB / 0.4904 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.03576, allocations: 53.84 kB / 0.4904 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.03579, allocations: 19.42 kB / 0.4904 GB, free: 15.02 MB / 426.7 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.0002214/0.03601, allocations: 209.3 kB / 0.4906 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.03614, allocations: 90.36 kB / 0.4907 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.0363, allocations: 74.58 kB / 0.4908 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.03631, allocations: 5.438 kB / 0.4908 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.03632, allocations: 0 / 0.4908 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.03633, allocations: 2.766 kB / 0.4908 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.03704, allocations: 462.6 kB / 0.4913 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.03705, allocations: 0.9375 kB / 0.4913 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.03752, allocations: 88.45 kB / 0.4913 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.03752, allocations: 1 kB / 0.4913 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.03757, allocations: 21.94 kB / 0.4914 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.03757, allocations: 2.062 kB / 0.4914 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.03757, allocations: 1.406 kB / 0.4914 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.03933, allocations: 0.7414 MB / 0.4921 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.03958, allocations: 113.7 kB / 0.4922 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.03966, allocations: 16.62 kB / 0.4922 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.0401, allocations: 36.98 kB / 0.4922 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.04021, allocations: 30.2 kB / 0.4923 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.04026, allocations: 17.98 kB / 0.4923 GB, free: 14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000567/0.04083, allocations: 404.2 kB / 0.4927 GB, free: 13.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04083, allocations: 3.938 kB / 0.4927 GB, free: 13.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007073/0.04153, allocations: 228.5 kB / 0.4929 GB, free: 13.75 MB / 426.7 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.000173/0.04171, allocations: 109.5 kB / 0.493 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.04352, allocations: 0.8066 MB / 0.4938 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.04352, allocations: 4.75 kB / 0.4938 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.04405, allocations: 206.8 kB / 0.494 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.04501, allocations: 216.2 kB / 0.4942 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.04744, allocations: 1.174 MB / 0.4953 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.04782, allocations: 323.4 kB / 0.4957 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004068/0.04823, allocations: 95.03 kB / 0.4957 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.04839, allocations: 47 kB / 0.4958 GB, free: 11.2 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04839, allocations: 0 / 0.4958 GB, free: 11.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01679/0.06518, allocations: 8.02 MB / 0.5036 GB, free: 5.012 MB / 426.7 MB " [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.961758702993393]