Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.992/1.992, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 198.3 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 110.6 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 50 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2511, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003595/0.2548, allocations: 3.033 MB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2563, allocations: 0.8924 MB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004175/0.2567, allocations: 15.94 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.257, allocations: 43.58 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.2573, allocations: 75.47 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.2578, allocations: 195.5 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.2582, allocations: 455.2 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.2585, allocations: 221.1 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.2587, allocations: 155.1 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.2589, allocations: 163 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.2589, allocations: 20 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.774e-05/0.259, allocations: 20 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.259, allocations: 67.62 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2591, allocations: 178.9 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.2594, allocations: 488.4 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2594, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2594, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2595, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 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.0008485/0.2603, allocations: 0.7167 MB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2603, allocations: 8.031 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.2604, allocations: 48.38 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.2609, allocations: 388.4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2609, allocations: 25.03 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.2609, allocations: 28.38 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.2613, allocations: 349.4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2614, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.2614, allocations: 12 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2614, allocations: 8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.2618, allocations: 218.1 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2629, allocations: 1.186 MB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.2633, allocations: 236 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.2635, allocations: 112.8 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.2635, allocations: 4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.2636, allocations: 34.94 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.2636, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=22): time 0.0005221/0.2641, allocations: 302.1 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2641, allocations: 106.8 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.2644, allocations: 333.7 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2644, allocations: 33.7 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.2645, allocations: 220.2 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.2645, allocations: 74.84 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.2646, allocations: 53.7 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.2646, allocations: 346.8 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.2648, allocations: 75.97 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.265, allocations: 148.9 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.2653, allocations: 203.6 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2653, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003946/0.2657, allocations: 282.9 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2657, allocations: 8 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2657, allocations: 3.938 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2657, allocations: 7.984 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.2659, allocations: 51.97 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2659, allocations: 7.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.2661, allocations: 36 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.2661, allocations: 8 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001094/0.2662, allocations: 162.4 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.2663, allocations: 35.53 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.2663, allocations: 43.36 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2664, allocations: 0 / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2664, allocations: 0 / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2664, allocations: 7.984 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.2667, allocations: 397.1 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2667, allocations: 0 / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.2669, allocations: 43.91 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2669, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.2669, allocations: 8 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2669, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2669, allocations: 3.938 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.2697, allocations: 2.537 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/0.2698, allocations: 132.6 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.2699, allocations: 4 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.27, allocations: 23.97 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.2701, allocations: 11.98 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2701, allocations: 7.984 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001576/0.2703, allocations: 239.2 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.2703, allocations: 4.062 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003659/0.2706, allocations: 91.78 kB / 1.233 GB, free: 101.4 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.632e-05/0.2707, allocations: 111.7 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.2711, allocations: 197.5 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2711, allocations: 4.375 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2713, allocations: 99.91 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.2718, allocations: 66.25 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2728, allocations: 1.041 MB / 1.235 GB, free: 99.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.273, allocations: 0.7953 MB / 1.235 GB, free: 99.03 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.2732, allocations: 46.94 kB / 1.235 GB, free: 98.98 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.2732, allocations: 31.44 kB / 1.235 GB, free: 98.95 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.2732, allocations: 0 / 1.235 GB, free: 98.95 MB / 0.823 GB Notification: Performance of Templates: time 0.005615/0.2789, allocations: 3.677 MB / 1.239 GB, free: 95.31 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)