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 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0-master/package.mo): time 1.701/1.701, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 178 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008116/0.0008118, allocations: 102.1 kB / 0.7808 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004389, allocations: 12 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.687, allocations: 120.3 MB / 1.026 GB, free: 56.9 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.8824, allocations: 148.5 MB / 1.171 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.8828, allocations: 92.89 kB / 1.171 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.8999, allocations: 6.916 MB / 1.178 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9, allocations: 0 / 1.178 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.221e-05/0.9, allocations: 8 kB / 1.178 GB, free: 2.723 MB / 0.7448 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.0009786/0.901, allocations: 0.6546 MB / 1.179 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.9011, allocations: 8.031 kB / 1.179 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/0.9012, allocations: 48.38 kB / 1.179 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.9017, allocations: 388.5 kB / 1.179 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.9017, allocations: 25.03 kB / 1.179 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.9018, allocations: 28.38 kB / 1.179 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.9024, allocations: 363.3 kB / 1.18 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.9024, allocations: 7.922 kB / 1.18 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.9025, allocations: 12 kB / 1.18 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.9025, allocations: 8 kB / 1.18 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.903, allocations: 250.1 kB / 1.18 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.9046, allocations: 1.247 MB / 1.181 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.9052, allocations: 282.9 kB / 1.181 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.9055, allocations: 128.7 kB / 1.182 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.9055, allocations: 4 kB / 1.182 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.9056, allocations: 42.55 kB / 1.182 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.9056, allocations: 0 / 1.182 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=22): time 0.0007093/0.9063, allocations: 344.5 kB / 1.182 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.9064, allocations: 158.2 kB / 1.182 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.9068, allocations: 345.6 kB / 1.182 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.9068, allocations: 33.7 kB / 1.182 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.907, allocations: 212.3 kB / 1.183 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.9071, allocations: 74.94 kB / 1.183 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.9071, allocations: 4 kB / 1.183 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.9073, allocations: 350.8 kB / 1.183 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.9075, allocations: 95.89 kB / 1.183 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.9077, allocations: 160.2 kB / 1.183 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.9081, allocations: 226.6 kB / 1.183 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9081, allocations: 0 / 1.183 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005092/0.9086, allocations: 300.9 kB / 1.184 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9087, allocations: 11.94 kB / 1.184 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9087, allocations: 0 / 1.184 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.9087, allocations: 4 kB / 1.184 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.9089, allocations: 51.91 kB / 1.184 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.909, allocations: 8.125 kB / 1.184 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.9092, allocations: 47.81 kB / 1.184 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.9092, allocations: 8 kB / 1.184 GB, free: 12.55 MB / 0.7605 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.0001754/0.9094, allocations: 163.2 kB / 1.184 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.9094, allocations: 42.38 kB / 1.184 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.9095, allocations: 43.47 kB / 1.184 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.9095, allocations: 4 kB / 1.184 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9096, allocations: 0 / 1.184 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9096, allocations: 3.984 kB / 1.184 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.91, allocations: 421.1 kB / 1.185 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.91, allocations: 4 kB / 1.185 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.9103, allocations: 43.97 kB / 1.185 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9103, allocations: 0 / 1.185 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.9103, allocations: 4 kB / 1.185 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.9103, allocations: 8 kB / 1.185 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9103, allocations: 7.875 kB / 1.185 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007283/0.9111, allocations: 478.9 kB / 1.185 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.9112, allocations: 140.6 kB / 1.185 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.9113, allocations: 8 kB / 1.185 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.9115, allocations: 32.05 kB / 1.185 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.9115, allocations: 15.97 kB / 1.185 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.9115, allocations: 11.98 kB / 1.185 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002445/0.9118, allocations: 239.2 kB / 1.185 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9118, allocations: 0 / 1.185 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003184/0.9121, allocations: 67.84 kB / 1.186 GB, free: 10.76 MB / 0.7605 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.000139/0.9123, allocations: 111.2 kB / 1.186 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.9127, allocations: 226 kB / 1.186 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9128, allocations: 0 / 1.186 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.913, allocations: 120.1 kB / 1.186 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.9135, allocations: 84.92 kB / 1.186 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.9149, allocations: 0.8743 MB / 1.187 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.9154, allocations: 0.7875 MB / 1.188 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.9155, allocations: 47.17 kB / 1.188 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.9156, allocations: 23.44 kB / 1.188 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of SimCode: time 2.1e-07/0.9156, allocations: 0 / 1.188 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of Templates: time 0.007153/0.9228, allocations: 3.377 MB / 1.191 GB, free: 5.129 MB / 0.7605 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)