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.001091/0.001091, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001091/0.001091, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.525/1.525, allocations: 205.1 MB / 222.8 MB, free: 4.637 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.658/1.658, allocations: 292.3 MB / 0.5492 GB, free: 13.55 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.001962/0.001963, allocations: 70.19 kB / 0.6716 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2744, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005503/0.28, allocations: 4.14 MB / 0.7875 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.2827, allocations: 1.333 MB / 0.7889 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004468/0.2832, allocations: 23.88 kB / 0.7889 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.2836, allocations: 91.22 kB / 0.789 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.2839, allocations: 146.9 kB / 0.7891 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008905/0.2848, allocations: 383.7 kB / 0.7895 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009232/0.2858, allocations: 0.9593 MB / 0.7904 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.2864, allocations: 454.4 kB / 0.7908 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/0.2868, allocations: 326.7 kB / 0.7911 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.2871, allocations: 342.3 kB / 0.7915 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.2873, allocations: 92 kB / 0.7916 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.2874, allocations: 88 kB / 0.7916 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.2875, allocations: 175.5 kB / 0.7918 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.2878, allocations: 394 kB / 0.7922 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.2886, allocations: 0.8418 MB / 0.793 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2886, allocations: 4 kB / 0.793 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2887, allocations: 3.938 kB / 0.793 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.2887, allocations: 4 kB / 0.793 GB, free: 4.055 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.001852/0.2905, allocations: 1.073 MB / 0.7941 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2906, allocations: 12.03 kB / 0.7941 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2907, allocations: 83.98 kB / 0.7942 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.2915, allocations: 0.5494 MB / 0.7947 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.2916, allocations: 49.69 kB / 0.7947 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.2917, allocations: 56.38 kB / 0.7948 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2928, allocations: 0.6078 MB / 0.7954 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.2928, allocations: 4 kB / 0.7954 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.2928, allocations: 28 kB / 0.7954 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2929, allocations: 12 kB / 0.7954 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000931/0.2938, allocations: 457 kB / 0.7959 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.2966, allocations: 2.016 MB / 0.7978 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/0.2975, allocations: 445.2 kB / 0.7983 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004377/0.2979, allocations: 234.1 kB / 0.7985 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.298, allocations: 12.44 kB / 0.7985 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006443/0.2986, allocations: 265.2 kB / 0.7988 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.2986, allocations: 0 / 0.7988 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001232/0.2999, allocations: 0.5846 MB / 0.7993 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.2999, allocations: 59.83 kB / 0.7994 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.3004, allocations: 442 kB / 0.7998 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.3005, allocations: 33.7 kB / 0.7998 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.3007, allocations: 324.3 kB / 0.8001 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.3009, allocations: 165.6 kB / 0.8003 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.301, allocations: 90.25 kB / 0.8004 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3012, allocations: 370.8 kB / 0.8007 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.3016, allocations: 165 kB / 0.8009 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.302, allocations: 249.8 kB / 0.8011 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/0.3028, allocations: 463.9 kB / 0.8016 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3028, allocations: 0 / 0.8016 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009946/0.3038, allocations: 0.5623 MB / 0.8021 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.3038, allocations: 41.62 kB / 0.8022 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3038, allocations: 7.984 kB / 0.8022 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3039, allocations: 4 kB / 0.8022 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.3043, allocations: 107.9 kB / 0.8023 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3044, allocations: 7.938 kB / 0.8023 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.3047, allocations: 67.75 kB / 0.8024 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.3048, allocations: 20 kB / 0.8024 GB, free: 10.12 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.0002599/0.305, allocations: 206.5 kB / 0.8026 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.3051, allocations: 63.2 kB / 0.8026 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.3052, allocations: 65.53 kB / 0.8027 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3053, allocations: 8 kB / 0.8027 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3053, allocations: 4 kB / 0.8027 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3053, allocations: 3.984 kB / 0.8027 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.307, allocations: 1.174 MB / 0.8039 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.307, allocations: 0 / 0.8039 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.3074, allocations: 95.88 kB / 0.8039 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.3075, allocations: 8 kB / 0.804 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.3075, allocations: 7.938 kB / 0.804 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3075, allocations: 4 kB / 0.804 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3075, allocations: 0 / 0.804 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3088, allocations: 0.7601 MB / 0.8047 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.309, allocations: 176.3 kB / 0.8049 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.309, allocations: 12 kB / 0.8049 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.3093, allocations: 23.97 kB / 0.8049 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.3094, allocations: 36.39 kB / 0.8049 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.3095, allocations: 19.98 kB / 0.805 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003333/0.3098, allocations: 306.9 kB / 0.8053 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3098, allocations: 4 kB / 0.8053 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004281/0.3103, allocations: 135.5 kB / 0.8054 GB, free: 6.934 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.0001476/0.3104, allocations: 119.1 kB / 0.8055 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.3115, allocations: 0.4975 MB / 0.806 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3115, allocations: 0 / 0.806 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.3119, allocations: 214.4 kB / 0.8062 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.3126, allocations: 160.9 kB / 0.8063 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.3153, allocations: 1.648 MB / 0.808 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.3158, allocations: 0.8899 MB / 0.8088 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3159, allocations: 47.42 kB / 0.8089 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.3159, allocations: 0 / 0.8089 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of Templates: time 0.01046/0.3264, allocations: 7.598 MB / 0.8163 GB, free: 11.73 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)