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.001005/0.001005, allocations: 104.3 kB / 16.36 MB, free: 6.352 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.00104/0.00104, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.411/1.411, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.826/1.826, allocations: 292.3 MB / 0.5496 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.001418/0.001418, allocations: 74.25 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2292, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.385/0.6142, allocations: 4.127 MB / 0.7888 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.6168, allocations: 1.362 MB / 0.7901 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.6172, allocations: 25.41 kB / 0.7902 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.6175, allocations: 124.9 kB / 0.7903 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.6178, allocations: 180.2 kB / 0.7905 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.6186, allocations: 413 kB / 0.7908 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007691/0.6194, allocations: 0.9595 MB / 0.7918 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005748/0.62, allocations: 459.8 kB / 0.7922 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.6203, allocations: 328.5 kB / 0.7925 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.6205, allocations: 335.5 kB / 0.7929 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.576e-05/0.6206, allocations: 89.94 kB / 0.7929 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.6207, allocations: 94.84 kB / 0.793 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.6209, allocations: 178.3 kB / 0.7932 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.6212, allocations: 394.9 kB / 0.7936 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007506/0.6219, allocations: 1.064 MB / 0.7946 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6219, allocations: 0 / 0.7946 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6219, allocations: 0 / 0.7946 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.622, allocations: 0 / 0.7946 GB, free: 45.9 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.001588/0.6235, allocations: 1.076 MB / 0.7957 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6236, allocations: 11.75 kB / 0.7957 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.6237, allocations: 82.06 kB / 0.7958 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.6245, allocations: 0.5673 MB / 0.7963 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.6246, allocations: 41.72 kB / 0.7964 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.6247, allocations: 59.84 kB / 0.7964 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/0.6256, allocations: 0.6105 MB / 0.797 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.6256, allocations: 5.125 kB / 0.797 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.6257, allocations: 22.56 kB / 0.797 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.6257, allocations: 13.41 kB / 0.797 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.6265, allocations: 463.3 kB / 0.7975 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.629, allocations: 1.994 MB / 0.7994 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008193/0.6298, allocations: 446.8 kB / 0.7999 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.6302, allocations: 238.9 kB / 0.8001 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.6303, allocations: 3.406 kB / 0.8001 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.6307, allocations: 264.5 kB / 0.8003 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 1.994e-06/0.6308, allocations: 3.625 kB / 0.8003 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001197/0.632, allocations: 0.5796 MB / 0.8009 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.632, allocations: 61.25 kB / 0.801 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.6325, allocations: 439.5 kB / 0.8014 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.6325, allocations: 38.14 kB / 0.8014 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.6327, allocations: 335.1 kB / 0.8017 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.6328, allocations: 163.7 kB / 0.8019 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.6329, allocations: 91.52 kB / 0.802 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.633, allocations: 363.5 kB / 0.8023 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.6334, allocations: 164.8 kB / 0.8025 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.6338, allocations: 257.8 kB / 0.8027 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007531/0.6346, allocations: 444.5 kB / 0.8032 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6346, allocations: 3.938 kB / 0.8032 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001167/0.6358, allocations: 0.5659 MB / 0.8037 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/0.6359, allocations: 38.23 kB / 0.8038 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.6359, allocations: 1.406 kB / 0.8038 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.6359, allocations: 4.344 kB / 0.8038 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.6364, allocations: 119.9 kB / 0.8039 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.6365, allocations: 8.906 kB / 0.8039 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.6368, allocations: 56.47 kB / 0.8039 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.6369, allocations: 18.36 kB / 0.804 GB, free: 40.53 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.000249/0.6371, allocations: 204.8 kB / 0.8041 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.6372, allocations: 57.97 kB / 0.8042 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.6374, allocations: 61.03 kB / 0.8043 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.6374, allocations: 12.88 kB / 0.8043 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.6374, allocations: 1.562 kB / 0.8043 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.6374, allocations: 2.625 kB / 0.8043 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.6393, allocations: 1.172 MB / 0.8054 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6394, allocations: 1.5 kB / 0.8054 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.6399, allocations: 98.31 kB / 0.8055 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6399, allocations: 2.609 kB / 0.8055 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.6399, allocations: 12.17 kB / 0.8055 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.6399, allocations: 5.719 kB / 0.8055 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6399, allocations: 1.781 kB / 0.8055 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.6414, allocations: 0.759 MB / 0.8063 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.6416, allocations: 172.8 kB / 0.8064 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.6417, allocations: 12.52 kB / 0.8065 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.642, allocations: 24.19 kB / 0.8065 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.6421, allocations: 36.73 kB / 0.8065 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.6421, allocations: 14.56 kB / 0.8065 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003965/0.6425, allocations: 312.8 kB / 0.8068 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6425, allocations: 4 kB / 0.8068 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005002/0.6431, allocations: 138.4 kB / 0.807 GB, free: 38.82 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.0001402/0.6432, allocations: 118.1 kB / 0.8071 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.6442, allocations: 483.4 kB / 0.8075 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6442, allocations: 0 / 0.8075 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.6447, allocations: 218.5 kB / 0.8077 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.6455, allocations: 161.2 kB / 0.8079 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.6482, allocations: 1.369 MB / 0.8092 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.6486, allocations: 0.8935 MB / 0.8101 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.6487, allocations: 43.7 kB / 0.8102 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.6487, allocations: 1.125 kB / 0.8102 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.016/0.6647, allocations: 7.595 MB / 0.8176 GB, free: 36.16 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)