Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 105.4 kB / 15.7 MB, free: 24 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.002442/0.002443, allocations: 193.4 kB / 16.64 MB, free: 6.453 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.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 4.59 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.802/1.802, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.00155/0.00155, allocations: 67.81 kB / 0.6722 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2558, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00594/0.2618, allocations: 4.132 MB / 0.7882 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.2642, allocations: 1.376 MB / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.2646, allocations: 23.94 kB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.265, allocations: 126.7 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.2653, allocations: 174.4 kB / 0.7898 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008357/0.2662, allocations: 418.5 kB / 0.7902 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.2673, allocations: 0.9593 MB / 0.7911 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006239/0.268, allocations: 458.1 kB / 0.7916 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.2683, allocations: 330.8 kB / 0.7919 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.2687, allocations: 338.3 kB / 0.7922 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.2688, allocations: 88 kB / 0.7923 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2689, allocations: 92 kB / 0.7924 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.269, allocations: 175.5 kB / 0.7926 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.2694, allocations: 398 kB / 0.7929 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2705, allocations: 1.055 MB / 0.794 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2705, allocations: 3.984 kB / 0.794 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2705, allocations: 0 / 0.794 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.2705, allocations: 0 / 0.794 GB, free: 2.602 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001762/0.2723, allocations: 1.085 MB / 0.795 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2724, allocations: 12.02 kB / 0.795 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.2725, allocations: 80 kB / 0.7951 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.2734, allocations: 0.5612 MB / 0.7957 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.2734, allocations: 49.61 kB / 0.7957 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/0.2735, allocations: 56.38 kB / 0.7958 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.2746, allocations: 0.6079 MB / 0.7964 GB, free: 32 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.2747, allocations: 0 / 0.7964 GB, free: 32 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.2747, allocations: 24 kB / 0.7964 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.2748, allocations: 15.98 kB / 0.7964 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009591/0.2757, allocations: 456.9 kB / 0.7968 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.2784, allocations: 1.997 MB / 0.7988 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009065/0.2793, allocations: 449.4 kB / 0.7992 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.2797, allocations: 238.1 kB / 0.7994 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.2798, allocations: 8.438 kB / 0.7994 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005327/0.2803, allocations: 269.1 kB / 0.7997 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.194e-06/0.2803, allocations: 0 / 0.7997 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001251/0.2816, allocations: 0.5807 MB / 0.8003 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.2817, allocations: 59.84 kB / 0.8003 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.2822, allocations: 450 kB / 0.8008 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.2822, allocations: 37.7 kB / 0.8008 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.2825, allocations: 324.3 kB / 0.8011 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2826, allocations: 165.5 kB / 0.8013 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.2828, allocations: 94.25 kB / 0.8013 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2829, allocations: 358.8 kB / 0.8017 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.2833, allocations: 169 kB / 0.8019 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.2838, allocations: 257.8 kB / 0.8021 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/0.2846, allocations: 456 kB / 0.8025 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2846, allocations: 0 / 0.8025 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00102/0.2857, allocations: 0.5545 MB / 0.8031 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.2857, allocations: 37.64 kB / 0.8031 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2857, allocations: 8.25 kB / 0.8031 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2858, allocations: 4 kB / 0.8031 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.2862, allocations: 115.8 kB / 0.8032 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2863, allocations: 7.984 kB / 0.8032 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2866, allocations: 51.52 kB / 0.8033 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.2866, allocations: 20 kB / 0.8033 GB, free: 8.684 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.000269/0.2869, allocations: 212.1 kB / 0.8035 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.287, allocations: 63.28 kB / 0.8036 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.2871, allocations: 57.59 kB / 0.8036 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2871, allocations: 4 kB / 0.8036 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2871, allocations: 3.938 kB / 0.8036 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2872, allocations: 3.984 kB / 0.8036 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.2889, allocations: 1.182 MB / 0.8048 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2889, allocations: 4 kB / 0.8048 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/0.2894, allocations: 99.88 kB / 0.8049 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2894, allocations: 0 / 0.8049 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.2895, allocations: 12 kB / 0.8049 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2895, allocations: 0 / 0.8049 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2895, allocations: 0 / 0.8049 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.2908, allocations: 0.7612 MB / 0.8056 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.291, allocations: 176.3 kB / 0.8058 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.2911, allocations: 11.98 kB / 0.8058 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.2914, allocations: 23.98 kB / 0.8058 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.2915, allocations: 36.33 kB / 0.8059 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.2916, allocations: 19.98 kB / 0.8059 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003478/0.2919, allocations: 306.9 kB / 0.8062 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2919, allocations: 0 / 0.8062 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004522/0.2924, allocations: 139.5 kB / 0.8063 GB, free: 5.496 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.00015/0.2925, allocations: 118.7 kB / 0.8064 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009364/0.2935, allocations: 485 kB / 0.8069 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2935, allocations: 0 / 0.8069 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.2939, allocations: 214.4 kB / 0.8071 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/0.2947, allocations: 164.9 kB / 0.8073 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.2973, allocations: 1.337 MB / 0.8086 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.2978, allocations: 0.8899 MB / 0.8094 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.298, allocations: 64.58 kB / 0.8095 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2981, allocations: 39.44 kB / 0.8095 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2981, allocations: 0 / 0.8095 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of Templates: time 0.01131/0.3095, allocations: 5.922 MB / 0.8153 GB, free: 12.3 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)