Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 186.3 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 70.42 kB / 0.6723 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005445/0.2456, allocations: 3.738 MB / 0.7878 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00274/0.2484, allocations: 1.372 MB / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004711/0.2489, allocations: 27.88 kB / 0.7891 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.2493, allocations: 126.6 kB / 0.7893 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005795/0.2499, allocations: 170.5 kB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.2512, allocations: 0.5776 MB / 0.79 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.2523, allocations: 0.9682 MB / 0.7909 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.2529, allocations: 361.5 kB / 0.7913 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/0.2533, allocations: 358.4 kB / 0.7916 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.2537, allocations: 354.1 kB / 0.7919 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.2538, allocations: 76 kB / 0.792 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.2539, allocations: 80 kB / 0.7921 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.2541, allocations: 187.2 kB / 0.7923 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.2544, allocations: 373.7 kB / 0.7926 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007902/0.2552, allocations: 0.8911 MB / 0.7935 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2552, allocations: 0 / 0.7935 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2552, allocations: 4 kB / 0.7935 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.2552, allocations: 3.938 kB / 0.7935 GB, free: 3.07 MB / 0.6075 GB 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.001939/0.2572, allocations: 1.187 MB / 0.7947 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2572, allocations: 8.031 kB / 0.7947 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2574, allocations: 99.75 kB / 0.7948 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.2584, allocations: 0.626 MB / 0.7954 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.2586, allocations: 96.95 kB / 0.7955 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.2587, allocations: 56.28 kB / 0.7955 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.2598, allocations: 0.608 MB / 0.7961 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.2598, allocations: 0 / 0.7961 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.2599, allocations: 20 kB / 0.7961 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.2599, allocations: 12 kB / 0.7962 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009324/0.2609, allocations: 427.6 kB / 0.7966 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.2635, allocations: 2.098 MB / 0.7986 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.2647, allocations: 0.5029 MB / 0.7991 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.2652, allocations: 223.4 kB / 0.7993 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.2652, allocations: 11.98 kB / 0.7993 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006692/0.2659, allocations: 278 kB / 0.7996 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/0.2659, allocations: 0 / 0.7996 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001425/0.2674, allocations: 0.6112 MB / 0.8002 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/0.2674, allocations: 88.86 kB / 0.8003 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.2681, allocations: 0.6139 MB / 0.8009 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.2682, allocations: 37.7 kB / 0.8009 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.2684, allocations: 361.9 kB / 0.8013 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.2686, allocations: 161.7 kB / 0.8014 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2687, allocations: 86.25 kB / 0.8015 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2688, allocations: 330 kB / 0.8018 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.2693, allocations: 183 kB / 0.802 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.2698, allocations: 280.2 kB / 0.8022 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/0.2707, allocations: 477.9 kB / 0.8027 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2707, allocations: 7.875 kB / 0.8027 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001145/0.2718, allocations: 0.5945 MB / 0.8033 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.2719, allocations: 37.69 kB / 0.8033 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2719, allocations: 4 kB / 0.8033 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.2719, allocations: 7.938 kB / 0.8033 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.2724, allocations: 107.9 kB / 0.8034 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2724, allocations: 7.938 kB / 0.8034 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.2728, allocations: 63.59 kB / 0.8035 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.2728, allocations: 24 kB / 0.8035 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005281/0.2734, allocations: 301.2 kB / 0.8038 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004429/0.2738, allocations: 276.2 kB / 0.8041 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007948/0.2746, allocations: 450 kB / 0.8045 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.2746, allocations: 0 / 0.8045 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001014/0.2757, allocations: 0.5786 MB / 0.8051 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.2757, allocations: 37.7 kB / 0.8051 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2757, allocations: 8.312 kB / 0.8051 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.2757, allocations: 4 kB / 0.8051 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.2762, allocations: 103.8 kB / 0.8052 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2762, allocations: 4 kB / 0.8052 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.2765, allocations: 51.58 kB / 0.8053 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.2766, allocations: 16 kB / 0.8053 GB, free: 6.492 MB / 0.6231 GB 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.0001673/0.2767, allocations: 226.4 kB / 0.8055 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.2768, allocations: 75.16 kB / 0.8056 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.277, allocations: 79.34 kB / 0.8057 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.277, allocations: 4 kB / 0.8057 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.277, allocations: 0 / 0.8057 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.277, allocations: 7.984 kB / 0.8057 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006196/0.2777, allocations: 0.618 MB / 0.8063 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2777, allocations: 0 / 0.8063 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.2781, allocations: 83.88 kB / 0.8063 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.2782, allocations: 11.98 kB / 0.8064 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.2782, allocations: 8 kB / 0.8064 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2782, allocations: 4 kB / 0.8064 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2782, allocations: 3.938 kB / 0.8064 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.2797, allocations: 0.7353 MB / 0.8071 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.2799, allocations: 188 kB / 0.8073 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.2799, allocations: 12 kB / 0.8073 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.2804, allocations: 35.95 kB / 0.8073 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.2805, allocations: 31.95 kB / 0.8073 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.2805, allocations: 19.98 kB / 0.8074 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004603/0.281, allocations: 431 kB / 0.8078 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.281, allocations: 0 / 0.8078 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005515/0.2815, allocations: 219.3 kB / 0.808 GB, free: 3.637 MB / 0.6231 GB 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.0001338/0.2817, allocations: 111.2 kB / 0.8081 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.2832, allocations: 0.7854 MB / 0.8089 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.2832, allocations: 0 / 0.8089 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.2837, allocations: 220 kB / 0.8091 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.2845, allocations: 200.3 kB / 0.8093 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.2865, allocations: 1.187 MB / 0.8104 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2869, allocations: 0.918 MB / 0.8113 GB, free: 136 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003387/0.2873, allocations: 93.19 kB / 0.8114 GB, free: 44 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2874, allocations: 47.44 kB / 0.8115 GB, free: 16 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.2874, allocations: 0 / 0.8115 GB, free: 16 MB / 0.6387 GB Notification: Performance of Templates: time 0.01388/0.3013, allocations: 7.575 MB / 0.8188 GB, free: 8.516 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)