Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00639/0.00639, allocations: 101.8 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.62/1.62, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.708/1.708, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.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.001566/0.001566, allocations: 67.89 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2523, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005527/0.2579, allocations: 3.729 MB / 0.8317 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003078/0.261, allocations: 1.376 MB / 0.833 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005283/0.2616, allocations: 31.81 kB / 0.833 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.262, allocations: 126.6 kB / 0.8331 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.2628, allocations: 170.5 kB / 0.8333 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.2643, allocations: 0.5754 MB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.2656, allocations: 0.9759 MB / 0.8348 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006762/0.2663, allocations: 349.6 kB / 0.8352 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00059/0.2669, allocations: 370.3 kB / 0.8355 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004568/0.2674, allocations: 346.1 kB / 0.8358 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.2675, allocations: 76 kB / 0.8359 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.2676, allocations: 80 kB / 0.836 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2678, allocations: 179.3 kB / 0.8362 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.2682, allocations: 381.7 kB / 0.8365 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008766/0.2691, allocations: 0.8912 MB / 0.8374 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.2691, allocations: 8 kB / 0.8374 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2691, allocations: 0 / 0.8374 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.2691, allocations: 0 / 0.8374 GB, free: 6.543 MB / 0.6544 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.002216/0.2714, allocations: 1.187 MB / 0.8386 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.2714, allocations: 12.03 kB / 0.8386 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.2716, allocations: 99.81 kB / 0.8387 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.2729, allocations: 0.6298 MB / 0.8393 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.2731, allocations: 96.95 kB / 0.8394 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2732, allocations: 56.38 kB / 0.8394 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.2743, allocations: 0.6003 MB / 0.84 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2744, allocations: 4 kB / 0.84 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.2744, allocations: 23.98 kB / 0.84 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.2745, allocations: 16 kB / 0.8401 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009397/0.2754, allocations: 415.7 kB / 0.8405 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.2782, allocations: 2.098 MB / 0.8425 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.2796, allocations: 0.496 MB / 0.843 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.2801, allocations: 216.8 kB / 0.8432 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.2801, allocations: 15.89 kB / 0.8432 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006832/0.2808, allocations: 274.4 kB / 0.8435 GB, free: 64 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 4.068e-06/0.2808, allocations: 4 kB / 0.8435 GB, free: 60 kB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001513/0.2823, allocations: 0.6137 MB / 0.8441 GB, free: 15.44 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.2824, allocations: 88.8 kB / 0.8442 GB, free: 15.33 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/0.2832, allocations: 0.6217 MB / 0.8448 GB, free: 14.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.2832, allocations: 33.7 kB / 0.8448 GB, free: 14.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.2835, allocations: 360.9 kB / 0.8451 GB, free: 14.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.2836, allocations: 161.7 kB / 0.8453 GB, free: 14.14 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.2838, allocations: 94.16 kB / 0.8454 GB, free: 14.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2839, allocations: 326 kB / 0.8457 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.2843, allocations: 183 kB / 0.8459 GB, free: 13.54 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.2848, allocations: 280.2 kB / 0.8461 GB, free: 13.23 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/0.2858, allocations: 469.9 kB / 0.8466 GB, free: 12.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2858, allocations: 7.938 kB / 0.8466 GB, free: 12.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001212/0.287, allocations: 0.6062 MB / 0.8472 GB, free: 12.11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.2871, allocations: 33.7 kB / 0.8472 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2871, allocations: 0 / 0.8472 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.2871, allocations: 4 kB / 0.8472 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.2876, allocations: 111.8 kB / 0.8473 GB, free: 11.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.2876, allocations: 7.984 kB / 0.8473 GB, free: 11.95 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.2881, allocations: 55.52 kB / 0.8474 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.2881, allocations: 23.98 kB / 0.8474 GB, free: 11.87 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005611/0.2887, allocations: 309.2 kB / 0.8477 GB, free: 11.56 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000452/0.2891, allocations: 268.2 kB / 0.848 GB, free: 11.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008545/0.29, allocations: 450 kB / 0.8484 GB, free: 10.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.29, allocations: 0 / 0.8484 GB, free: 10.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001068/0.2911, allocations: 0.5825 MB / 0.849 GB, free: 10.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.2911, allocations: 37.69 kB / 0.849 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2911, allocations: 4 kB / 0.849 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2912, allocations: 4.312 kB / 0.849 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.2916, allocations: 103.8 kB / 0.8491 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2916, allocations: 8 kB / 0.8491 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.292, allocations: 59.44 kB / 0.8492 GB, free: 9.977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.292, allocations: 16 kB / 0.8492 GB, free: 9.961 MB / 0.67 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.0002115/0.2923, allocations: 220.1 kB / 0.8494 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2924, allocations: 71.06 kB / 0.8495 GB, free: 9.668 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.2926, allocations: 87.33 kB / 0.8495 GB, free: 9.578 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2926, allocations: 4 kB / 0.8496 GB, free: 9.574 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.2926, allocations: 0 / 0.8496 GB, free: 9.574 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2926, allocations: 11.98 kB / 0.8496 GB, free: 9.562 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.2934, allocations: 0.618 MB / 0.8502 GB, free: 8.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2934, allocations: 0 / 0.8502 GB, free: 8.895 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.2939, allocations: 83.88 kB / 0.8502 GB, free: 8.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.2939, allocations: 4 kB / 0.8503 GB, free: 8.809 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.2939, allocations: 12 kB / 0.8503 GB, free: 8.797 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2939, allocations: 4 kB / 0.8503 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.294, allocations: 0 / 0.8503 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.2954, allocations: 0.7363 MB / 0.851 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.2956, allocations: 188.2 kB / 0.8512 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.2957, allocations: 8 kB / 0.8512 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.2961, allocations: 35.95 kB / 0.8512 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2963, allocations: 31.95 kB / 0.8512 GB, free: 7.758 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.2963, allocations: 12 kB / 0.8512 GB, free: 7.746 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005421/0.2968, allocations: 439 kB / 0.8517 GB, free: 7.324 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2968, allocations: 0 / 0.8517 GB, free: 7.324 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006467/0.2975, allocations: 215.3 kB / 0.8519 GB, free: 7.113 MB / 0.67 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.0001533/0.2977, allocations: 119.1 kB / 0.852 GB, free: 6.988 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.2993, allocations: 0.7806 MB / 0.8527 GB, free: 6.184 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.2993, allocations: 1.062 kB / 0.8527 GB, free: 6.184 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.2998, allocations: 219.8 kB / 0.853 GB, free: 5.969 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.3009, allocations: 209.7 kB / 0.8532 GB, free: 5.773 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.3037, allocations: 1.177 MB / 0.8543 GB, free: 4.566 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.3044, allocations: 0.9294 MB / 0.8552 GB, free: 3.609 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005387/0.3049, allocations: 89.2 kB / 0.8553 GB, free: 3.523 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.3051, allocations: 51.42 kB / 0.8553 GB, free: 3.473 MB / 0.67 GB Notification: Performance of SimCode: time 1.713e-06/0.3051, allocations: 3.938 kB / 0.8554 GB, free: 3.469 MB / 0.67 GB Notification: Performance of Templates: time 0.01503/0.3202, allocations: 7.693 MB / 0.8629 GB, free: 11.87 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)