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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7564/0.7564, allocations: 128.8 MB / 143.7 MB, free: 2.297 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.001043/0.001043, allocations: 186 kB / 173.8 MB, free: 6.105 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009707/0.0009706, allocations: 97.03 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003482, allocations: 13 kB / 0.5603 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1888, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.353, allocations: 109.9 MB / 0.7426 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/0.3534, allocations: 83.95 kB / 0.7427 GB, free: 468 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.427/0.7805, allocations: 7.271 MB / 0.7498 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.266e-06/0.7806, allocations: 4 kB / 0.7498 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.26e-05/0.7806, allocations: 11.45 kB / 0.7498 GB, free: 109.5 MB / 0.5105 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.001159/0.7818, allocations: 0.657 MB / 0.7504 GB, free: 109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.7818, allocations: 9.406 kB / 0.7504 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.616e-05/0.782, allocations: 52.3 kB / 0.7505 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.7826, allocations: 388.1 kB / 0.7509 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.7827, allocations: 24.84 kB / 0.7509 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.7827, allocations: 30 kB / 0.7509 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.7834, allocations: 366.9 kB / 0.7513 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.7835, allocations: 2.531 kB / 0.7513 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.7835, allocations: 17.16 kB / 0.7513 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.7835, allocations: 20.64 kB / 0.7513 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.7841, allocations: 246.7 kB / 0.7515 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.7861, allocations: 1.253 MB / 0.7528 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.7869, allocations: 286.1 kB / 0.753 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.7869, allocations: 7.734 kB / 0.753 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.787, allocations: 34.2 kB / 0.7531 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 3.807e-06/0.787, allocations: 0 / 0.7531 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.0009574/0.7879, allocations: 353.8 kB / 0.7534 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.7881, allocations: 157.2 kB / 0.7536 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.7886, allocations: 307.4 kB / 0.7538 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.7887, allocations: 31.45 kB / 0.7539 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.7889, allocations: 216.5 kB / 0.7541 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.789, allocations: 78.5 kB / 0.7542 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.789, allocations: 9.25 kB / 0.7542 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7892, allocations: 347 kB / 0.7545 GB, free: 107 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.7894, allocations: 89.7 kB / 0.7546 GB, free: 107 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.7897, allocations: 164.7 kB / 0.7547 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.7899, allocations: 110.9 kB / 0.7548 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7899, allocations: 0 / 0.7548 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006951/0.7906, allocations: 299.5 kB / 0.7551 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.7908, allocations: 455.4 kB / 0.7556 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7908, allocations: 9.266 kB / 0.7556 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.7909, allocations: 2.75 kB / 0.7556 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.7911, allocations: 54 kB / 0.7556 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.7911, allocations: 6.688 kB / 0.7556 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.7914, allocations: 46.44 kB / 0.7557 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.7914, allocations: 6.75 kB / 0.7557 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.7914, allocations: 4.219 kB / 0.7557 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003837/0.7918, allocations: 204.3 kB / 0.7559 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7918, allocations: 6.5 kB / 0.7559 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/0.7918, allocations: 10.62 kB / 0.7559 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.792, allocations: 40.8 kB / 0.7559 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7921, allocations: 2.219 kB / 0.7559 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.7922, allocations: 45.5 kB / 0.756 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.7923, allocations: 10.22 kB / 0.756 GB, free: 106.3 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.0002039/0.7925, allocations: 236.6 kB / 0.7562 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.7926, allocations: 36.44 kB / 0.7563 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.7927, allocations: 41.41 kB / 0.7563 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.7927, allocations: 14.17 kB / 0.7563 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.7927, allocations: 1.125 kB / 0.7563 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.7927, allocations: 0 / 0.7563 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.7933, allocations: 422.4 kB / 0.7567 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7933, allocations: 0 / 0.7567 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.7935, allocations: 44.16 kB / 0.7568 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7936, allocations: 5.281 kB / 0.7568 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.7936, allocations: 5.844 kB / 0.7568 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7936, allocations: 1.281 kB / 0.7568 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7936, allocations: 0 / 0.7568 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008246/0.7944, allocations: 486.5 kB / 0.7572 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.7947, allocations: 138.7 kB / 0.7574 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.7947, allocations: 6.812 kB / 0.7574 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.795, allocations: 30.12 kB / 0.7574 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.7951, allocations: 15.7 kB / 0.7574 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.7951, allocations: 8.625 kB / 0.7574 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003202/0.7954, allocations: 250.1 kB / 0.7577 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7954, allocations: 0 / 0.7577 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005513/0.796, allocations: 126 kB / 0.7578 GB, free: 105.5 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.0001724/0.7962, allocations: 126.4 kB / 0.7579 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000782/0.7969, allocations: 345.1 kB / 0.7582 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.797, allocations: 1.031 kB / 0.7582 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.7972, allocations: 118.4 kB / 0.7583 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.7978, allocations: 80.75 kB / 0.7584 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.7995, allocations: 0.8681 MB / 0.7593 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.7998, allocations: 0.806 MB / 0.7601 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002099/0.8, allocations: 39.78 kB / 0.7601 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.8001, allocations: 34.98 kB / 0.7601 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.8001, allocations: 3.938 kB / 0.7601 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.008905/0.809, allocations: 3.57 MB / 0.7636 GB, free: 102.8 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)