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.0006469/0.0006469, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009541/0.001601, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006631/0.0006631, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009109/0.001574, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9289/0.9289, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08031/1.009, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5974/0.5974, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05774/0.6552, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.413e-06/1.413e-06, allocations: 0 / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.541e-05, allocations: 2.312 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005063/0.005089, allocations: 3.5 MB / 407.2 MB, free: 7.457 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.007977, allocations: 1.421 MB / 408.6 MB, free: 6.027 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.008412, allocations: 35.69 kB / 408.6 MB, free: 5.992 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.008703, allocations: 138.5 kB / 408.8 MB, free: 5.855 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.009218, allocations: 190.4 kB / 409 MB, free: 5.668 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.01031, allocations: 0.5615 MB / 409.5 MB, free: 5.105 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.01141, allocations: 0.9447 MB / 410.5 MB, free: 4.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.01186, allocations: 236.2 kB / 410.7 MB, free: 3.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008351/0.0127, allocations: 0.6145 MB / 411.3 MB, free: 3.293 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.01306, allocations: 255.1 kB / 411.6 MB, free: 3.043 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.0132, allocations: 83.94 kB / 411.6 MB, free: 2.961 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.01331, allocations: 76 kB / 411.7 MB, free: 2.887 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.01343, allocations: 135.5 kB / 411.8 MB, free: 2.754 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.01362, allocations: 175.5 kB / 412 MB, free: 2.582 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.01424, allocations: 0.5211 MB / 412.5 MB, free: 2.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.01425, allocations: 0 / 412.5 MB, free: 2.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01426, allocations: 0 / 412.5 MB, free: 2.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.01427, allocations: 0 / 412.5 MB, free: 2.059 MB / 394.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.001673/0.01595, allocations: 1.196 MB / 413.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.01598, allocations: 12.03 kB / 413.7 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.01615, allocations: 108.8 kB / 413.9 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.01694, allocations: 0.4959 MB / 414.4 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.01705, allocations: 152.4 kB / 414.5 MB, free: 16 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.911e-05/0.01715, allocations: 52.42 kB / 414.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.01787, allocations: 0.6074 MB / 415.2 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.01788, allocations: 192 / 415.2 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.01793, allocations: 28.12 kB / 415.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.01795, allocations: 16 kB / 415.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.01824, allocations: 142.8 kB / 415.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.02009, allocations: 1.458 MB / 416.8 MB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.02054, allocations: 219.4 kB / 417 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.02068, allocations: 76.81 kB / 417.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.02072, allocations: 11.98 kB / 417.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.02101, allocations: 217.4 kB / 417.3 MB, free: 13.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.595e-06/0.02101, allocations: 0 / 417.3 MB, free: 13.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.0004913/0.02151, allocations: 258.8 kB / 417.6 MB, free: 12.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.02154, allocations: 55.41 kB / 417.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.02199, allocations: 0.5039 MB / 418.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.02203, allocations: 41.7 kB / 418.2 MB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.0222, allocations: 282.9 kB / 418.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.02232, allocations: 158.6 kB / 418.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.02246, allocations: 98.25 kB / 418.7 MB, free: 11.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.0226, allocations: 386.6 kB / 419.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.02274, allocations: 85.16 kB / 419.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.02294, allocations: 243.2 kB / 419.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.02328, allocations: 270.8 kB / 419.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.02329, allocations: 4 kB / 419.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004729/0.02376, allocations: 337.7 kB / 420 MB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.0238, allocations: 37.69 kB / 420 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.02381, allocations: 4 kB / 420 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.02383, allocations: 7.938 kB / 420 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.02423, allocations: 115.8 kB / 420.1 MB, free: 10 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.02424, allocations: 7.984 kB / 420.2 MB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.02449, allocations: 55.94 kB / 420.2 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.02452, allocations: 20 kB / 420.2 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000217/0.02474, allocations: 167.1 kB / 420.4 MB, free: 9.742 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002105/0.02495, allocations: 243.2 kB / 420.6 MB, free: 9.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003116/0.02526, allocations: 270.6 kB / 420.9 MB, free: 9.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.107e-06/0.02527, allocations: 4 kB / 420.9 MB, free: 9.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0004531/0.02572, allocations: 333.7 kB / 421.2 MB, free: 8.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.02574, allocations: 30.02 kB / 421.3 MB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.02575, allocations: 8 kB / 421.3 MB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.02576, allocations: 4 kB / 421.3 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.02614, allocations: 115.8 kB / 421.4 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.02615, allocations: 11.92 kB / 421.4 MB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.02641, allocations: 51.72 kB / 421.4 MB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.02644, allocations: 12 kB / 421.5 MB, free: 8.559 MB / 410.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 (limPID.I.trigger_internal,limPIDRev.I.trigger_internal,limPIDOri.I.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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.0001303/0.02657, allocations: 216.1 kB / 421.7 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.02665, allocations: 51.94 kB / 421.7 MB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.02676, allocations: 82.77 kB / 421.8 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.02677, allocations: 7.938 kB / 421.8 MB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.02677, allocations: 0 / 421.8 MB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.02678, allocations: 3.984 kB / 421.8 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.02717, allocations: 321.4 kB / 422.1 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02717, allocations: 0 / 422.1 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.02753, allocations: 87.89 kB / 422.2 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.02769, allocations: 79.38 kB / 422.3 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.02769, allocations: 4 kB / 422.3 MB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.02772, allocations: 8 kB / 422.3 MB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.02772, allocations: 4 kB / 422.3 MB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.02773, allocations: 7.875 kB / 422.3 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.02824, allocations: 322.5 kB / 422.6 MB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.0283, allocations: 8 kB / 422.6 MB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.02854, allocations: 28.03 kB / 422.7 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.02862, allocations: 35.94 kB / 422.7 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.02865, allocations: 15.92 kB / 422.7 MB, free: 7.258 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002675/0.02892, allocations: 248.6 kB / 423 MB, free: 7.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02892, allocations: 0 / 423 MB, free: 7.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004989/0.02942, allocations: 231.4 kB / 423.2 MB, free: 6.789 MB / 410.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.0001316/0.02955, allocations: 96.33 kB / 423.3 MB, free: 6.684 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000658/0.03021, allocations: 0.5215 MB / 423.8 MB, free: 6.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-05/0.03023, allocations: 11.98 kB / 423.8 MB, free: 6.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.03046, allocations: 136.8 kB / 423.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.03155, allocations: 1.454 MB / 425.4 MB, free: 4.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.03348, allocations: 1.092 MB / 426.5 MB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.03359, allocations: 142.5 kB / 426.6 MB, free: 2.953 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003364/0.03393, allocations: 88.95 kB / 426.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/0.03445, allocations: 213.2 kB / 426.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03445, allocations: 0 / 426.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of Templates: time 0.1647/0.1991, allocations: 8.844 MB / 435.8 MB, free: 18.36 MB / 410.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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2592353792861104]