Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.518/2.518, allocations: 287.5 MB / 303.2 MB, free: 8.246 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.001303/0.001302, allocations: 188.4 kB / 371.8 MB, free: 10.84 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.09/2.09, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.001032/0.001031, allocations: 94.31 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006286/0.0006288, allocations: 9.938 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2105, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9236/1.134, allocations: 144.6 MB / 1.121 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.135, allocations: 78.78 kB / 1.121 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02643/1.161, allocations: 6.957 MB / 1.127 GB, free: 31.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/1.161, allocations: 0 / 1.127 GB, free: 31.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.716e-05/1.161, allocations: 11.75 kB / 1.127 GB, free: 31.02 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001467/1.163, allocations: 0.6448 MB / 1.128 GB, free: 30.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.163, allocations: 7.844 kB / 1.128 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/1.163, allocations: 47.47 kB / 1.128 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/1.163, allocations: 397.4 kB / 1.128 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/1.164, allocations: 22.81 kB / 1.128 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/1.164, allocations: 28.38 kB / 1.129 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/1.164, allocations: 370.9 kB / 1.129 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.165, allocations: 3.938 kB / 1.129 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/1.165, allocations: 10.81 kB / 1.129 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.165, allocations: 11.66 kB / 1.129 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/1.165, allocations: 248.9 kB / 1.129 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/1.168, allocations: 1.248 MB / 1.13 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/1.169, allocations: 277.5 kB / 1.131 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/1.169, allocations: 130.1 kB / 1.131 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/1.169, allocations: 3.875 kB / 1.131 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/1.169, allocations: 34.38 kB / 1.131 GB, free: 29.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.886e-06/1.169, allocations: 0 / 1.131 GB, free: 29.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.001134/1.17, allocations: 342.6 kB / 1.131 GB, free: 29.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/1.17, allocations: 158.1 kB / 1.131 GB, free: 29.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/1.171, allocations: 356 kB / 1.132 GB, free: 29.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/1.171, allocations: 37.11 kB / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/1.171, allocations: 212.4 kB / 1.132 GB, free: 28.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/1.171, allocations: 79.45 kB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/1.171, allocations: 6.875 kB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.171, allocations: 345.7 kB / 1.132 GB, free: 28.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/1.172, allocations: 95.06 kB / 1.132 GB, free: 28.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/1.172, allocations: 162.9 kB / 1.132 GB, free: 28.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/1.173, allocations: 235 kB / 1.133 GB, free: 28.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.173, allocations: 3.938 kB / 1.133 GB, free: 28.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008463/1.174, allocations: 294.8 kB / 1.133 GB, free: 28.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.174, allocations: 10.81 kB / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.174, allocations: 3.875 kB / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.174, allocations: 0 / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/1.174, allocations: 52.89 kB / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/1.174, allocations: 3.781 kB / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/1.174, allocations: 52.53 kB / 1.133 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/1.175, allocations: 10.86 kB / 1.133 GB, free: 28.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0002913/1.175, allocations: 159.2 kB / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/1.175, allocations: 39 kB / 1.133 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/1.175, allocations: 42.11 kB / 1.133 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.175, allocations: 2.906 kB / 1.133 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.175, allocations: 3.969 kB / 1.133 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.175, allocations: 0 / 1.133 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/1.176, allocations: 424.9 kB / 1.134 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.176, allocations: 0 / 1.134 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/1.176, allocations: 45.33 kB / 1.134 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.176, allocations: 3.844 kB / 1.134 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/1.176, allocations: 3.562 kB / 1.134 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.176, allocations: 3.938 kB / 1.134 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.176, allocations: 3.844 kB / 1.134 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/1.177, allocations: 486.8 kB / 1.134 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/1.178, allocations: 131.8 kB / 1.134 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/1.178, allocations: 9.516 kB / 1.134 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/1.178, allocations: 25.02 kB / 1.134 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/1.178, allocations: 20.61 kB / 1.134 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/1.178, allocations: 10.19 kB / 1.134 GB, free: 27.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003721/1.179, allocations: 245.5 kB / 1.135 GB, free: 27.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.179, allocations: 4 kB / 1.135 GB, free: 27.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004947/1.179, allocations: 75.59 kB / 1.135 GB, free: 27.51 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001779/1.179, allocations: 109.1 kB / 1.135 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007478/1.18, allocations: 226.3 kB / 1.135 GB, free: 27.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.18, allocations: 3.938 kB / 1.135 GB, free: 27.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003294/1.18, allocations: 120.1 kB / 1.135 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/1.181, allocations: 80.73 kB / 1.135 GB, free: 27.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/1.183, allocations: 0.8717 MB / 1.136 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/1.184, allocations: 0.7873 MB / 1.137 GB, free: 26.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002866/1.184, allocations: 41.55 kB / 1.137 GB, free: 26.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/1.184, allocations: 34.61 kB / 1.137 GB, free: 26 MB / 0.698 GB Notification: Performance of SimCode: time 8.51e-07/1.184, allocations: 0 / 1.137 GB, free: 26 MB / 0.698 GB Notification: Performance of Templates: time 0.01035/1.194, allocations: 3.329 MB / 1.14 GB, free: 24.4 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)