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.001165/0.001165, allocations: 101.6 kB / 16.29 MB, free: 6.426 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.001297/0.001297, allocations: 189.5 kB / 17.22 MB, free: 5.957 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.485/1.485, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.901/1.901, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001826/0.001826, allocations: 71.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3105, allocations: 114.6 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.6245/0.935, allocations: 4.134 MB / 0.7881 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003337/0.9384, allocations: 1.364 MB / 0.7894 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006787/0.9392, allocations: 21.84 kB / 0.7894 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.9396, allocations: 126.9 kB / 0.7896 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.94, allocations: 183.7 kB / 0.7897 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009348/0.941, allocations: 420.7 kB / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009092/0.9419, allocations: 0.9536 MB / 0.7911 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006598/0.9426, allocations: 457.8 kB / 0.7915 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.943, allocations: 333.8 kB / 0.7918 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.9433, allocations: 330.8 kB / 0.7921 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.9435, allocations: 90.81 kB / 0.7922 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.9436, allocations: 95.31 kB / 0.7923 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.9437, allocations: 179.6 kB / 0.7925 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.9441, allocations: 397.1 kB / 0.7929 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008159/0.9449, allocations: 1.06 MB / 0.7939 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9449, allocations: 0 / 0.7939 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9449, allocations: 0 / 0.7939 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.9449, allocations: 0 / 0.7939 GB, free: 45.32 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001612/0.9465, allocations: 1.074 MB / 0.795 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.9466, allocations: 7 kB / 0.795 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.9467, allocations: 86.2 kB / 0.795 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007226/0.9474, allocations: 0.5535 MB / 0.7956 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.9475, allocations: 45.97 kB / 0.7956 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.301e-05/0.9476, allocations: 54.34 kB / 0.7957 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.9486, allocations: 0.6143 MB / 0.7963 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.9486, allocations: 6.406 kB / 0.7963 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.9487, allocations: 24 kB / 0.7963 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.9487, allocations: 17.25 kB / 0.7963 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008874/0.9496, allocations: 457.9 kB / 0.7968 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.9522, allocations: 1.996 MB / 0.7987 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.953, allocations: 439.4 kB / 0.7991 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.9535, allocations: 247.2 kB / 0.7994 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.9535, allocations: 3.062 kB / 0.7994 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00064/0.9542, allocations: 257 kB / 0.7996 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.976e-06/0.9542, allocations: 0 / 0.7996 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001251/0.9555, allocations: 0.5867 MB / 0.8002 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.9555, allocations: 55.06 kB / 0.8002 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.9561, allocations: 447.4 kB / 0.8007 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.9561, allocations: 34.92 kB / 0.8007 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.9564, allocations: 325.6 kB / 0.801 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.9565, allocations: 164.1 kB / 0.8012 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.9567, allocations: 95.77 kB / 0.8013 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.9568, allocations: 365.2 kB / 0.8016 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.9572, allocations: 167.6 kB / 0.8018 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.9577, allocations: 249.9 kB / 0.802 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/0.9585, allocations: 456.8 kB / 0.8024 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9585, allocations: 0 / 0.8024 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001076/0.9595, allocations: 0.5642 MB / 0.803 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.9596, allocations: 37.27 kB / 0.803 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.9596, allocations: 2.969 kB / 0.803 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/0.9597, allocations: 3.828 kB / 0.803 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.9602, allocations: 113.2 kB / 0.8031 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.9602, allocations: 6.062 kB / 0.8032 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.9606, allocations: 62.53 kB / 0.8032 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.9606, allocations: 21.94 kB / 0.8032 GB, free: 40.07 MB / 0.6544 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.0002485/0.9609, allocations: 207.2 kB / 0.8034 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.961, allocations: 58.41 kB / 0.8035 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.9611, allocations: 65.69 kB / 0.8035 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.9611, allocations: 5.219 kB / 0.8036 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.9611, allocations: 1.125 kB / 0.8036 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.9612, allocations: 6.578 kB / 0.8036 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.9631, allocations: 1.175 MB / 0.8047 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9631, allocations: 0 / 0.8047 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.9636, allocations: 96.5 kB / 0.8048 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.9637, allocations: 2.062 kB / 0.8048 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.9637, allocations: 12.38 kB / 0.8048 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.9637, allocations: 5.844 kB / 0.8048 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9637, allocations: 1.281 kB / 0.8048 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.9652, allocations: 0.7608 MB / 0.8056 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.9654, allocations: 175.9 kB / 0.8057 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.9654, allocations: 9.016 kB / 0.8057 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.9657, allocations: 25.61 kB / 0.8058 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.9658, allocations: 32.84 kB / 0.8058 GB, free: 38.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.9659, allocations: 15.33 kB / 0.8058 GB, free: 38.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004021/0.9663, allocations: 309.9 kB / 0.8061 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.9663, allocations: 0 / 0.8061 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005381/0.9668, allocations: 141.5 kB / 0.8062 GB, free: 38.39 MB / 0.6544 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.0001483/0.967, allocations: 118.6 kB / 0.8064 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.9681, allocations: 482.3 kB / 0.8068 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9681, allocations: 1.469 kB / 0.8068 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.9686, allocations: 222.6 kB / 0.807 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.9693, allocations: 162.5 kB / 0.8072 GB, free: 37.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.9721, allocations: 1.331 MB / 0.8085 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.9726, allocations: 0.8875 MB / 0.8093 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.973, allocations: 62.86 kB / 0.8094 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.9731, allocations: 41.19 kB / 0.8094 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of SimCode: time 8.61e-07/0.9731, allocations: 4 kB / 0.8095 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.01555/0.9887, allocations: 5.924 MB / 0.8152 GB, free: 36.2 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)