Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5198/0.5198, allocations: 95.62 MB / 110.6 MB, free: 9.375 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009707/0.0009707, allocations: 173.9 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.405/1.405, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001692/0.001692, allocations: 117.8 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5999, allocations: 99.41 MB / 0.609 GB, free: 7.914 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.6002, allocations: 77.72 kB / 0.6091 GB, free: 7.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02082/0.621, allocations: 8.126 MB / 0.6171 GB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.621, allocations: 0 / 0.6171 GB, free: 1.004 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.74e-05/0.6211, allocations: 8 kB / 0.6171 GB, free: 0.9961 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001044/0.6221, allocations: 0.6538 MB / 0.6177 GB, free: 332 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6222, allocations: 11.98 kB / 0.6177 GB, free: 320 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.6223, allocations: 43.53 kB / 0.6178 GB, free: 276 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006264/0.6229, allocations: 380.6 kB / 0.6181 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.623, allocations: 27 kB / 0.6181 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.623, allocations: 34.38 kB / 0.6182 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.6237, allocations: 327.9 kB / 0.6185 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.6237, allocations: 0 / 0.6185 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.6238, allocations: 17.12 kB / 0.6185 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.6238, allocations: 8 kB / 0.6185 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.6243, allocations: 234.1 kB / 0.6187 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.6261, allocations: 0.993 MB / 0.6197 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.6267, allocations: 271.5 kB / 0.62 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.6268, allocations: 8.172 kB / 0.62 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.6268, allocations: 38.44 kB / 0.62 GB, free: 14.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.6269, allocations: 0 / 0.62 GB, free: 14.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007335/0.6276, allocations: 328.8 kB / 0.6203 GB, free: 14.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.6277, allocations: 136.5 kB / 0.6205 GB, free: 13.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.6281, allocations: 291 kB / 0.6207 GB, free: 13.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.6281, allocations: 29.14 kB / 0.6208 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.6282, allocations: 203.2 kB / 0.621 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.6283, allocations: 77.27 kB / 0.621 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.6283, allocations: 7.375 kB / 0.621 GB, free: 13.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6285, allocations: 341.1 kB / 0.6214 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.6287, allocations: 94.77 kB / 0.6214 GB, free: 13.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.6289, allocations: 123.6 kB / 0.6216 GB, free: 12.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.6291, allocations: 91.34 kB / 0.6217 GB, free: 12.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6291, allocations: 0 / 0.6217 GB, free: 12.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004568/0.6296, allocations: 272.4 kB / 0.6219 GB, free: 12.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.6296, allocations: 8 kB / 0.6219 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6296, allocations: 0 / 0.6219 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.6296, allocations: 0 / 0.6219 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.6298, allocations: 51.91 kB / 0.622 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.6299, allocations: 0 / 0.622 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.6301, allocations: 42.91 kB / 0.622 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.6301, allocations: 7 kB / 0.622 GB, free: 12.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.con.hys.y,con.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001745/0.6303, allocations: 155.4 kB / 0.6222 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.6303, allocations: 31.62 kB / 0.6222 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.807e-05/0.6304, allocations: 36.53 kB / 0.6222 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6304, allocations: 4 kB / 0.6222 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6304, allocations: 0 / 0.6222 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6304, allocations: 4 kB / 0.6222 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.6309, allocations: 411 kB / 0.6226 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6309, allocations: 3.938 kB / 0.6226 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.6311, allocations: 46.84 kB / 0.6227 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6311, allocations: 4.031 kB / 0.6227 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.6312, allocations: 7.875 kB / 0.6227 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6312, allocations: 0 / 0.6227 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6312, allocations: 3.938 kB / 0.6227 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000727/0.6319, allocations: 480.5 kB / 0.6232 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.6321, allocations: 130 kB / 0.6233 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.6321, allocations: 7.938 kB / 0.6233 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.6323, allocations: 31.09 kB / 0.6233 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.6324, allocations: 11.98 kB / 0.6233 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.6324, allocations: 12 kB / 0.6233 GB, free: 11.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.6326, allocations: 237.7 kB / 0.6236 GB, free: 11.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6326, allocations: 0 / 0.6236 GB, free: 11.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.6329, allocations: 63.59 kB / 0.6236 GB, free: 11.2 MB / 426.7 MB 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 (21): * Single equations (assignments): 21 * 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.0001376/0.6331, allocations: 99.12 kB / 0.6237 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.6335, allocations: 211.5 kB / 0.6239 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6336, allocations: 4 kB / 0.6239 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.6338, allocations: 113.7 kB / 0.624 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.6342, allocations: 69.41 kB / 0.6241 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.6356, allocations: 0.8185 MB / 0.6249 GB, free: 9.934 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.6361, allocations: 0.795 MB / 0.6257 GB, free: 9.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.6362, allocations: 30.22 kB / 0.6257 GB, free: 9.082 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.6363, allocations: 23.44 kB / 0.6257 GB, free: 9.059 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6363, allocations: 0 / 0.6257 GB, free: 9.059 MB / 426.7 MB Notification: Performance of Templates: time 0.006588/0.6429, allocations: 2.984 MB / 0.6286 GB, free: 6.094 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)