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.0006993/0.0006993, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009462/0.001645, allocations: 447.8 kB / 10.34 MB, free: 352 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.0006831/0.0006831, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009654/0.001649, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9884/0.9884, allocations: 177.1 MB / 189.6 MB, free: 3.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1779/1.166, allocations: 53.66 MB / 243.2 MB, free: 2.383 MB / 234.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.6353/0.6353, allocations: 119.1 MB / 363.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06969/0.705, allocations: 37.86 MB / 400.9 MB, free: 15.3 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.372e-06/1.372e-06, allocations: 0 / 402.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.518e-05, allocations: 5.969 kB / 402.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004951/0.004977, allocations: 3.495 MB / 405.7 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.007742, allocations: 1.413 MB / 407.1 MB, free: 9.094 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.008107, allocations: 31.75 kB / 407.1 MB, free: 9.062 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.008375, allocations: 138.5 kB / 407.3 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.008836, allocations: 198.4 kB / 407.5 MB, free: 8.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009662/0.009803, allocations: 0.5575 MB / 408 MB, free: 8.172 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009433/0.01075, allocations: 0.9447 MB / 409 MB, free: 7.223 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.01116, allocations: 240.2 kB / 409.2 MB, free: 6.973 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007321/0.01189, allocations: 0.6146 MB / 409.8 MB, free: 6.352 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005299/0.01242, allocations: 255 kB / 410.1 MB, free: 6.102 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.01253, allocations: 79.94 kB / 410.1 MB, free: 6.023 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.01262, allocations: 80 kB / 410.2 MB, free: 5.945 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.01275, allocations: 131.5 kB / 410.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.01294, allocations: 179.4 kB / 410.5 MB, free: 5.641 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.01355, allocations: 0.5212 MB / 411 MB, free: 5.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.756e-05/0.01357, allocations: 0 / 411 MB, free: 5.117 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01357, allocations: 0 / 411 MB, free: 5.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.0136, allocations: 0 / 411 MB, free: 5.117 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.001615/0.01521, allocations: 1.199 MB / 412.2 MB, free: 3.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.01525, allocations: 15.89 kB / 412.3 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.01539, allocations: 100.8 kB / 412.4 MB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.01613, allocations: 0.4959 MB / 412.8 MB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.01624, allocations: 144.4 kB / 413 MB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/0.01632, allocations: 64.31 kB / 413.1 MB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.01698, allocations: 0.5997 MB / 413.7 MB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.017, allocations: 4.188 kB / 413.7 MB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.01704, allocations: 24.12 kB / 413.7 MB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.01706, allocations: 19.94 kB / 413.7 MB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.01732, allocations: 138.9 kB / 413.8 MB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.01912, allocations: 1.458 MB / 415.3 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.01955, allocations: 231.4 kB / 415.5 MB, free: 416 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.01968, allocations: 80.73 kB / 415.6 MB, free: 332 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.01972, allocations: 11.94 kB / 415.6 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.02002, allocations: 216.7 kB / 415.8 MB, free: 80 kB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 2.775e-06/0.02002, allocations: 0 / 415.8 MB, free: 80 kB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.0004857/0.02051, allocations: 253.2 kB / 416.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.02056, allocations: 59.39 kB / 416.1 MB, free: 15.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.02099, allocations: 0.5078 MB / 416.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.02104, allocations: 41.7 kB / 416.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.02144, allocations: 274.9 kB / 416.9 MB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.02155, allocations: 166.6 kB / 417.1 MB, free: 14.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.02168, allocations: 94.25 kB / 417.2 MB, free: 14.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.02182, allocations: 390.6 kB / 417.6 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.02195, allocations: 85.16 kB / 417.7 MB, free: 14.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.02214, allocations: 231.3 kB / 417.9 MB, free: 13.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.02245, allocations: 274.6 kB / 418.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.02246, allocations: 0 / 418.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004376/0.0229, allocations: 337.7 kB / 418.5 MB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.02294, allocations: 33.7 kB / 418.5 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.02295, allocations: 4 kB / 418.5 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.02297, allocations: 11.94 kB / 418.5 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.02334, allocations: 119.8 kB / 418.7 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.02335, allocations: 7.984 kB / 418.7 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.02358, allocations: 55.97 kB / 418.7 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.02362, allocations: 23.98 kB / 418.7 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002051/0.02382, allocations: 167.1 kB / 418.9 MB, free: 12.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002071/0.02403, allocations: 235.2 kB / 419.1 MB, free: 12.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000301/0.02433, allocations: 274.7 kB / 419.4 MB, free: 12.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.02433, allocations: 0 / 419.4 MB, free: 12.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.00041/0.02474, allocations: 333.7 kB / 419.7 MB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.02477, allocations: 34.02 kB / 419.8 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.02477, allocations: 8 kB / 419.8 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/0.02478, allocations: 4 kB / 419.8 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.02512, allocations: 115.8 kB / 419.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.02512, allocations: 11.92 kB / 419.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.02534, allocations: 47.72 kB / 419.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.02537, allocations: 16 kB / 420 MB, free: 11.62 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.000131/0.0255, allocations: 212.1 kB / 420.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.02558, allocations: 59.88 kB / 420.2 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.02569, allocations: 78.77 kB / 420.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.0257, allocations: 11.94 kB / 420.3 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.0257, allocations: 0 / 420.3 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.02571, allocations: 7.969 kB / 420.3 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.02609, allocations: 309.4 kB / 420.6 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02609, allocations: 0 / 420.6 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.02641, allocations: 91.88 kB / 420.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.02656, allocations: 79.39 kB / 420.8 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.02656, allocations: 0 / 420.8 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.02659, allocations: 12 kB / 420.8 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.02659, allocations: 0 / 420.8 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02659, allocations: 3.938 kB / 420.8 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.02709, allocations: 327.5 kB / 421.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.02715, allocations: 12 kB / 421.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.02736, allocations: 27.97 kB / 421.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.02743, allocations: 27.94 kB / 421.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.02746, allocations: 19.92 kB / 421.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002369/0.02769, allocations: 248.6 kB / 421.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02769, allocations: 0 / 421.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004684/0.02816, allocations: 223.4 kB / 421.7 MB, free: 9.859 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.0001306/0.02829, allocations: 96.41 kB / 421.8 MB, free: 9.754 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.0289, allocations: 0.5124 MB / 422.3 MB, free: 9.199 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/0.02891, allocations: 8 kB / 422.3 MB, free: 9.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.02907, allocations: 112.8 kB / 422.4 MB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.0297, allocations: 241.9 kB / 422.6 MB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.03131, allocations: 1.088 MB / 423.7 MB, free: 7.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.912e-05/0.03138, allocations: 138.6 kB / 423.9 MB, free: 7.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.03161, allocations: 92.94 kB / 423.9 MB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.03194, allocations: 213.1 kB / 424.2 MB, free: 7.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03194, allocations: 3.938 kB / 424.2 MB, free: 7.266 MB / 410.7 MB Notification: Performance of Templates: time 0.01212/0.04406, allocations: 8.931 MB / 433.1 MB, free: 14.55 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2727448139339685]