Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009103/0.0009103, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001849/0.001849, allocations: 173 kB / 23.36 MB, free: 1.133 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.9049/0.9049, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001652/0.001652, allocations: 238 kB / 260.5 MB, free: 12.71 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6977/0.6977, allocations: 138.4 MB / 402.2 MB, free: 0.5469 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.398e-05, allocations: 6.234 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPID): time 0.003544/0.003558, allocations: 3.462 MB / 465.7 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.006001, allocations: 1.405 MB / 467.1 MB, free: 13.7 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.006386, allocations: 32.59 kB / 467.2 MB, free: 13.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.006655, allocations: 128.4 kB / 467.3 MB, free: 13.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.007104, allocations: 190 kB / 467.5 MB, free: 13.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.007969, allocations: 0.5724 MB / 468 MB, free: 12.94 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008521/0.008821, allocations: 0.964 MB / 469 MB, free: 11.97 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.009135, allocations: 240.2 kB / 469.2 MB, free: 11.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.009636, allocations: 0.5148 MB / 469.8 MB, free: 11.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.009902, allocations: 256.8 kB / 470 MB, free: 10.96 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.00998, allocations: 80 kB / 470.1 MB, free: 10.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-05/0.01004, allocations: 76 kB / 470.2 MB, free: 10.81 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.01014, allocations: 183.3 kB / 470.3 MB, free: 10.63 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.01032, allocations: 231.2 kB / 470.6 MB, free: 10.4 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.01078, allocations: 0.584 MB / 471.1 MB, free: 9.816 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01078, allocations: 4.562 kB / 471.2 MB, free: 9.812 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01078, allocations: 0 / 471.2 MB, free: 9.812 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.01078, allocations: 0.5625 kB / 471.2 MB, free: 9.812 MB / 426.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.001095/0.01188, allocations: 1.059 MB / 472.2 MB, free: 8.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.01191, allocations: 12.75 kB / 472.2 MB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.01201, allocations: 100.8 kB / 472.3 MB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.01255, allocations: 0.5004 MB / 472.8 MB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.01263, allocations: 149.9 kB / 473 MB, free: 7.926 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.01269, allocations: 52.38 kB / 473 MB, free: 7.875 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.01327, allocations: 0.6095 MB / 473.6 MB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.01328, allocations: 192 / 473.6 MB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.01332, allocations: 29.09 kB / 473.7 MB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01333, allocations: 12 kB / 473.7 MB, free: 7.152 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.01351, allocations: 144.6 kB / 473.8 MB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.01473, allocations: 1.46 MB / 475.3 MB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.01502, allocations: 206.7 kB / 475.5 MB, free: 5.301 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.01511, allocations: 87.64 kB / 475.6 MB, free: 5.215 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.01514, allocations: 9.125 kB / 475.6 MB, free: 5.207 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.01533, allocations: 218.6 kB / 475.8 MB, free: 4.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.813e-06/0.01533, allocations: 0 / 475.8 MB, free: 4.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.0003226/0.01565, allocations: 258.1 kB / 476 MB, free: 4.711 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.01569, allocations: 106.8 kB / 476.1 MB, free: 4.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.0162, allocations: 0.5131 MB / 476.7 MB, free: 4.059 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.01623, allocations: 37.7 kB / 476.7 MB, free: 4.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.01635, allocations: 278.9 kB / 477 MB, free: 3.738 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.01642, allocations: 158.6 kB / 477.1 MB, free: 3.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.01653, allocations: 99 kB / 477.2 MB, free: 3.477 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.01663, allocations: 386.6 kB / 477.6 MB, free: 3.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.01672, allocations: 95.27 kB / 477.7 MB, free: 2.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.01686, allocations: 235.2 kB / 477.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.01707, allocations: 265.9 kB / 478.2 MB, free: 2.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01708, allocations: 1.125 kB / 478.2 MB, free: 2.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002994/0.01738, allocations: 336.2 kB / 478.5 MB, free: 2.078 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.0174, allocations: 33.7 kB / 478.5 MB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01741, allocations: 7.984 kB / 478.5 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.01742, allocations: 10.66 kB / 478.6 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.01765, allocations: 108.3 kB / 478.7 MB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.01766, allocations: 4 kB / 478.7 MB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.01782, allocations: 51.72 kB / 478.7 MB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.01783, allocations: 16.62 kB / 478.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001405/0.01798, allocations: 167.9 kB / 478.9 MB, free: 1.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001343/0.01811, allocations: 239.2 kB / 479.1 MB, free: 1.387 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002004/0.01831, allocations: 262.8 kB / 479.4 MB, free: 1.094 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.422e-06/0.01831, allocations: 0 / 479.4 MB, free: 1.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0002828/0.01859, allocations: 338.6 kB / 479.7 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01861, allocations: 33.7 kB / 479.7 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.01862, allocations: 4 kB / 479.8 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.01862, allocations: 8.609 kB / 479.8 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.01882, allocations: 103.8 kB / 479.9 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01883, allocations: 12.59 kB / 479.9 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.01898, allocations: 50.88 kB / 479.9 MB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.01899, allocations: 16 kB / 479.9 MB, free: 0.5273 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 (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 9.515e-05/0.01909, allocations: 212.9 kB / 480.1 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.01914, allocations: 56.69 kB / 480.2 MB, free: 264 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.01921, allocations: 76.45 kB / 480.3 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.01921, allocations: 11.92 kB / 480.3 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.01922, allocations: 0 / 480.3 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.01922, allocations: 0 / 480.3 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.0195, allocations: 317.4 kB / 480.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0195, allocations: 1.25 kB / 480.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.0197, allocations: 79.84 kB / 480.7 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.0197, allocations: 0 / 480.7 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.01972, allocations: 14.83 kB / 480.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01972, allocations: 0 / 480.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01972, allocations: 0 / 480.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.02007, allocations: 325 kB / 481 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.02019, allocations: 75.39 kB / 481.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.02023, allocations: 12.84 kB / 481.1 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.02037, allocations: 30.19 kB / 481.1 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.02042, allocations: 27.94 kB / 481.2 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.02044, allocations: 19.92 kB / 481.2 MB, free: 15.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.0206, allocations: 244.6 kB / 481.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0206, allocations: 0.875 kB / 481.4 MB, free: 15.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003044/0.02091, allocations: 227.4 kB / 481.6 MB, free: 14.79 MB / 442.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 9.013e-05/0.021, allocations: 91.47 kB / 481.7 MB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.02142, allocations: 0.5102 MB / 482.2 MB, free: 14.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.02143, allocations: 8.531 kB / 482.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.02154, allocations: 110.5 kB / 482.3 MB, free: 14.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.02194, allocations: 213.2 kB / 482.6 MB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.02301, allocations: 1.073 MB / 483.6 MB, free: 12.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.329e-05/0.02308, allocations: 142.5 kB / 483.8 MB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.02331, allocations: 97.66 kB / 483.9 MB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.02365, allocations: 205.2 kB / 484.1 MB, free: 12.3 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02365, allocations: 0.5625 kB / 484.1 MB, free: 12.3 MB / 442.7 MB Notification: Performance of Templates: time 0.01069/0.03433, allocations: 8.68 MB / 492.7 MB, free: 4.172 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.471680410206318]