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.0008937/0.0008937, 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.001506/0.001506, allocations: 177 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.943/0.943, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.00166/0.00166, allocations: 242.1 kB / 260.5 MB, free: 12.68 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.7294/0.7294, allocations: 138.4 MB / 402.2 MB, free: 0.5234 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.773e-06/1.773e-06, allocations: 0 / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.421e-05, allocations: 6.078 kB / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPID): time 0.003596/0.00361, allocations: 3.5 MB / 465.8 MB, free: 14.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.005965, allocations: 1.412 MB / 467.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.006268, allocations: 35.69 kB / 467.3 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.006521, allocations: 125.6 kB / 467.4 MB, free: 13.5 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.006911, allocations: 191.7 kB / 467.6 MB, free: 13.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.007657, allocations: 0.5603 MB / 468.1 MB, free: 12.81 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007131/0.00837, allocations: 0.9763 MB / 469.1 MB, free: 11.83 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.008667, allocations: 237 kB / 469.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.009119, allocations: 0.5181 MB / 469.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.009359, allocations: 256.4 kB / 470.1 MB, free: 10.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.009439, allocations: 76 kB / 470.2 MB, free: 10.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.009504, allocations: 80 kB / 470.3 MB, free: 10.67 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.009834, allocations: 184.4 kB / 470.4 MB, free: 10.49 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.009975, allocations: 231.2 kB / 470.7 MB, free: 10.26 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.01041, allocations: 0.5796 MB / 471.2 MB, free: 9.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01041, allocations: 4.875 kB / 471.3 MB, free: 9.676 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01041, allocations: 0 / 471.3 MB, free: 9.676 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.01042, allocations: 0 / 471.3 MB, free: 9.676 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.001025/0.01145, allocations: 1.063 MB / 472.3 MB, free: 8.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.01147, allocations: 8.75 kB / 472.3 MB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.01158, allocations: 106.2 kB / 472.4 MB, free: 8.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.01211, allocations: 0.4993 MB / 472.9 MB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.395e-05/0.01218, allocations: 145.5 kB / 473.1 MB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.01224, allocations: 56.38 kB / 473.1 MB, free: 7.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.01272, allocations: 0.6038 MB / 473.7 MB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01274, allocations: 4.125 kB / 473.7 MB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.01277, allocations: 24.12 kB / 473.8 MB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.01278, allocations: 16.78 kB / 473.8 MB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.01296, allocations: 141 kB / 473.9 MB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01421, allocations: 1.453 MB / 475.4 MB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.01451, allocations: 229 kB / 475.6 MB, free: 5.156 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.452e-05/0.01461, allocations: 84.45 kB / 475.7 MB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.01463, allocations: 8 kB / 475.7 MB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.01483, allocations: 214.9 kB / 475.9 MB, free: 4.836 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.744e-06/0.01483, allocations: 0 / 475.9 MB, free: 4.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.0003247/0.01515, allocations: 257.2 kB / 476.1 MB, free: 4.578 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.0152, allocations: 119.7 kB / 476.3 MB, free: 4.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.0155, allocations: 0.5078 MB / 476.8 MB, free: 3.918 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.01553, allocations: 34.36 kB / 476.8 MB, free: 3.879 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.01565, allocations: 278.9 kB / 477.1 MB, free: 3.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.01572, allocations: 163.7 kB / 477.2 MB, free: 3.438 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.01582, allocations: 98.25 kB / 477.3 MB, free: 3.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003283/0.01615, allocations: 386.6 kB / 477.7 MB, free: 2.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.01625, allocations: 85.78 kB / 477.8 MB, free: 2.859 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.01639, allocations: 245 kB / 478 MB, free: 2.566 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.01662, allocations: 265 kB / 478.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01662, allocations: 4 kB / 478.3 MB, free: 2.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003072/0.01693, allocations: 338 kB / 478.6 MB, free: 1.934 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.01695, allocations: 38.92 kB / 478.7 MB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01696, allocations: 0 / 478.7 MB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01697, allocations: 7.938 kB / 478.7 MB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.01722, allocations: 116.7 kB / 478.8 MB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01723, allocations: 4 kB / 478.8 MB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.01739, allocations: 53.06 kB / 478.8 MB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.01741, allocations: 12 kB / 478.8 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001473/0.01756, allocations: 167.8 kB / 479 MB, free: 1.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001373/0.0177, allocations: 240.1 kB / 479.2 MB, free: 1.242 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002043/0.0179, allocations: 254 kB / 479.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.0179, allocations: 1.125 kB / 479.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0002887/0.01819, allocations: 335.4 kB / 479.8 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.01821, allocations: 38.56 kB / 479.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.01821, allocations: 4 kB / 479.9 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/0.01821, allocations: 5.75 kB / 479.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.01843, allocations: 111.8 kB / 480 MB, free: 468 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.01844, allocations: 7.938 kB / 480 MB, free: 460 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.01859, allocations: 51.72 kB / 480 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01861, allocations: 20.45 kB / 480.1 MB, free: 388 kB / 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.596e-05/0.01871, allocations: 214 kB / 480.3 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.01876, allocations: 51.95 kB / 480.3 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.01883, allocations: 78.75 kB / 480.4 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01884, allocations: 8.5 kB / 480.4 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01884, allocations: 1.125 kB / 480.4 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01884, allocations: 0.5625 kB / 480.4 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.01912, allocations: 324.3 kB / 480.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01912, allocations: 0.8438 kB / 480.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.01934, allocations: 79.89 kB / 480.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01934, allocations: 4 kB / 480.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.01936, allocations: 8 kB / 480.8 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.01936, allocations: 4.5 kB / 480.8 MB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01936, allocations: 0 / 480.8 MB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.01972, allocations: 324.6 kB / 481.1 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.01983, allocations: 76.73 kB / 481.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.01987, allocations: 12.48 kB / 481.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.02002, allocations: 23.98 kB / 481.2 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.02007, allocations: 33.44 kB / 481.3 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.02009, allocations: 16.55 kB / 481.3 MB, free: 15.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.02026, allocations: 248.6 kB / 481.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02026, allocations: 0 / 481.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.02059, allocations: 228.5 kB / 481.8 MB, free: 14.64 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 7.849e-05/0.02066, allocations: 95.25 kB / 481.8 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.02109, allocations: 0.5033 MB / 482.3 MB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.0211, allocations: 8 kB / 482.4 MB, free: 13.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.02122, allocations: 109.6 kB / 482.5 MB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.02163, allocations: 224.2 kB / 482.7 MB, free: 13.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.0227, allocations: 1.059 MB / 483.7 MB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.588e-05/0.02278, allocations: 146.5 kB / 483.9 MB, free: 12.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002335/0.02301, allocations: 86.95 kB / 484 MB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.02337, allocations: 221.1 kB / 484.2 MB, free: 12.14 MB / 442.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02337, allocations: 1.344 kB / 484.2 MB, free: 12.14 MB / 442.7 MB Notification: Performance of Templates: time 0.01087/0.03424, allocations: 8.67 MB / 492.9 MB, free: 4.008 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4741414533928037]