Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.682/2.682, allocations: 287.3 MB / 302.3 MB, free: 8.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 182.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 88.12 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007212/0.0007214, allocations: 15.86 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2247, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004992/0.2297, allocations: 3.42 MB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004246/0.234, allocations: 1.279 MB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009585/0.2351, allocations: 23.88 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.2354, allocations: 59.36 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.2368, allocations: 220.3 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.2388, allocations: 303.9 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.2409, allocations: 0.5939 MB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009258/0.2419, allocations: 291.6 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006917/0.2426, allocations: 238.9 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.2432, allocations: 242.6 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.2433, allocations: 24 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2435, allocations: 24 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2436, allocations: 95.53 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.2439, allocations: 157.3 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.2453, allocations: 0.8027 MB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2453, allocations: 0 / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.115e-06/0.2453, allocations: 0 / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.702e-05/0.2454, allocations: 0 / 0.9857 GB, free: 20.61 MB / 0.6198 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.003502/0.2489, allocations: 0.962 MB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.249, allocations: 16.02 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.2493, allocations: 79.06 kB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.2512, allocations: 0.5407 MB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/0.2513, allocations: 41.31 kB / 0.9873 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.2515, allocations: 60 kB / 0.9874 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.254, allocations: 0.6036 MB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.117e-05/0.2541, allocations: 0 / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.2542, allocations: 24 kB / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.2543, allocations: 12 kB / 0.988 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.2567, allocations: 480.9 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006377/0.2632, allocations: 2.012 MB / 0.9904 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.2653, allocations: 453.8 kB / 0.9909 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.2655, allocations: 4.438 kB / 0.9909 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.2667, allocations: 269.2 kB / 0.9911 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 4.95e-06/0.2667, allocations: 0 / 0.9911 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.002969/0.2697, allocations: 0.5968 MB / 0.9917 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.2698, allocations: 59.84 kB / 0.9918 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.2709, allocations: 453.8 kB / 0.9922 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.2711, allocations: 29.7 kB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.2715, allocations: 324.3 kB / 0.9925 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.2717, allocations: 165.6 kB / 0.9927 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.2718, allocations: 12 kB / 0.9927 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.272, allocations: 362.8 kB / 0.9931 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009531/0.2729, allocations: 177 kB / 0.9932 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/0.274, allocations: 245.8 kB / 0.9935 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.275, allocations: 227.8 kB / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.2751, allocations: 4 kB / 0.9937 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002461/0.2775, allocations: 0.5703 MB / 0.9942 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.2777, allocations: 33.69 kB / 0.9943 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.2777, allocations: 7.953 kB / 0.9943 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.2777, allocations: 4 kB / 0.9943 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.279, allocations: 111.9 kB / 0.9944 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.2791, allocations: 7.938 kB / 0.9944 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/0.2801, allocations: 71.59 kB / 0.9945 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.569e-05/0.2802, allocations: 23.94 kB / 0.9945 GB, free: 11.34 MB / 0.6198 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 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006462/0.2809, allocations: 201.8 kB / 0.9947 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.2811, allocations: 55.28 kB / 0.9947 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.2814, allocations: 69.58 kB / 0.9948 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.2814, allocations: 11.95 kB / 0.9948 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.2814, allocations: 0 / 0.9948 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.2815, allocations: 3.984 kB / 0.9948 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.2856, allocations: 1.189 MB / 0.996 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.2857, allocations: 0 / 0.996 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.287, allocations: 91.89 kB / 0.9961 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/0.287, allocations: 11.89 kB / 0.9961 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.2871, allocations: 19.92 kB / 0.9961 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.2872, allocations: 0 / 0.9961 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2872, allocations: 0 / 0.9961 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.2903, allocations: 0.7758 MB / 0.9969 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.2908, allocations: 160.4 kB / 0.997 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.291, allocations: 15.95 kB / 0.997 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/0.2918, allocations: 39.91 kB / 0.9971 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.292, allocations: 36.38 kB / 0.9971 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/0.2921, allocations: 12 kB / 0.9971 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007362/0.2928, allocations: 310.9 kB / 0.9974 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/0.2929, allocations: 0 / 0.9974 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001138/0.294, allocations: 143.4 kB / 0.9975 GB, free: 8.102 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002432/0.2943, allocations: 112.1 kB / 0.9976 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.2966, allocations: 489 kB / 0.9981 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.465e-06/0.2966, allocations: 0 / 0.9981 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.2977, allocations: 226.8 kB / 0.9983 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.2994, allocations: 132.5 kB / 0.9985 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/0.3056, allocations: 1.618 MB / 1 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/0.3062, allocations: 0.9019 MB / 1.001 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007933/0.3071, allocations: 64.58 kB / 1.001 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.3073, allocations: 39.44 kB / 1.001 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of SimCode: time 1.563e-06/0.3073, allocations: 0 / 1.001 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of Templates: time 0.02431/0.3317, allocations: 5.353 MB / 1.006 GB, free: 15.19 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)