Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6529/0.6529, allocations: 117.9 MB / 133.9 MB, free: 4.504 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 178.2 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 394.8 MB, free: 20.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008246/0.0008243, allocations: 108.7 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004662, allocations: 12 kB / 0.5423 GB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4188, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.5573, allocations: 108.8 MB / 0.7213 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5577, allocations: 87.89 kB / 0.7214 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01919/0.5769, allocations: 7.303 MB / 0.7285 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5769, allocations: 0 / 0.7285 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.841e-05/0.577, allocations: 12.12 kB / 0.7286 GB, free: 1.766 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001193/0.5782, allocations: 0.6544 MB / 0.7292 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5782, allocations: 12.03 kB / 0.7292 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.5784, allocations: 48.38 kB / 0.7292 GB, free: 1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.5791, allocations: 400.4 kB / 0.7296 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.5791, allocations: 25.03 kB / 0.7297 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.5792, allocations: 28.38 kB / 0.7297 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.5799, allocations: 370.5 kB / 0.73 GB, free: 128 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5799, allocations: 7.938 kB / 0.73 GB, free: 120 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.5799, allocations: 16 kB / 0.7301 GB, free: 104 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.58, allocations: 8 kB / 0.7301 GB, free: 96 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.5805, allocations: 246.1 kB / 0.7303 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.5824, allocations: 1.26 MB / 0.7315 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/0.583, allocations: 290.7 kB / 0.7318 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.5833, allocations: 120.8 kB / 0.7319 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.5833, allocations: 0 / 0.7319 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5834, allocations: 42.88 kB / 0.732 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.5834, allocations: 3.938 kB / 0.732 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.0007539/0.5842, allocations: 342.2 kB / 0.7323 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/0.5843, allocations: 162.2 kB / 0.7324 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.5847, allocations: 353.6 kB / 0.7328 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.5847, allocations: 29.7 kB / 0.7328 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.5849, allocations: 216.3 kB / 0.733 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.585, allocations: 78.89 kB / 0.7331 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.585, allocations: 0 / 0.7331 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5852, allocations: 342.8 kB / 0.7334 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.5854, allocations: 95.95 kB / 0.7335 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.5856, allocations: 167.6 kB / 0.7337 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.5861, allocations: 232.1 kB / 0.7339 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5861, allocations: 0 / 0.7339 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000582/0.5867, allocations: 301 kB / 0.7342 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/0.5868, allocations: 120.4 kB / 0.7343 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.5868, allocations: 4 kB / 0.7343 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5868, allocations: 128 / 0.7343 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.587, allocations: 59.91 kB / 0.7344 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.5871, allocations: 0 / 0.7344 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.5873, allocations: 47.67 kB / 0.7344 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.5873, allocations: 11.98 kB / 0.7344 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.5874, allocations: 8 kB / 0.7344 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003752/0.5877, allocations: 215.9 kB / 0.7346 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.5877, allocations: 0 / 0.7346 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/0.5878, allocations: 4 kB / 0.7346 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.5879, allocations: 43.97 kB / 0.7347 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.588, allocations: 7.938 kB / 0.7347 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.5882, allocations: 35.95 kB / 0.7347 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.5882, allocations: 8 kB / 0.7347 GB, free: 11.09 MB / 0.5105 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.0002334/0.5884, allocations: 233.1 kB / 0.7349 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.5885, allocations: 43.5 kB / 0.735 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.5886, allocations: 43.45 kB / 0.735 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5886, allocations: 0 / 0.735 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5886, allocations: 8 kB / 0.735 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.5887, allocations: 0 / 0.735 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.5892, allocations: 417.2 kB / 0.7354 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5892, allocations: 7.938 kB / 0.7354 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.5894, allocations: 43.98 kB / 0.7355 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5894, allocations: 0 / 0.7355 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.5895, allocations: 7.984 kB / 0.7355 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5895, allocations: 0 / 0.7355 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5895, allocations: 7.938 kB / 0.7355 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/0.5903, allocations: 497.8 kB / 0.736 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.5905, allocations: 132.6 kB / 0.7361 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.5905, allocations: 8 kB / 0.7361 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.5908, allocations: 27.97 kB / 0.7361 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.5908, allocations: 20.02 kB / 0.7362 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.5909, allocations: 16.05 kB / 0.7362 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002761/0.5911, allocations: 243.2 kB / 0.7364 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5912, allocations: 0 / 0.7364 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004809/0.5916, allocations: 131.5 kB / 0.7365 GB, free: 9.148 MB / 0.5105 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.0001759/0.5918, allocations: 118.9 kB / 0.7366 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006913/0.5925, allocations: 339.7 kB / 0.737 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5925, allocations: 0 / 0.737 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.5928, allocations: 124.3 kB / 0.7371 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.5934, allocations: 75.05 kB / 0.7372 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5949, allocations: 0.8882 MB / 0.738 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.5953, allocations: 0.796 MB / 0.7388 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002159/0.5956, allocations: 42.95 kB / 0.7388 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.5956, allocations: 27.42 kB / 0.7389 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.5956, allocations: 0 / 0.7389 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of Templates: time 0.008726/0.6044, allocations: 3.63 MB / 0.7424 GB, free: 3.094 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)