Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.882/0.882, allocations: 128.8 MB / 143.7 MB, free: 2.324 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.001513/0.001513, allocations: 178.4 kB / 173.8 MB, free: 6.121 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.756/1.756, allocations: 205.4 MB / 409 MB, free: 10.5 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.0008716/0.0008714, allocations: 90.23 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 8.688 kB / 0.5603 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 76.77 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6128/0.7888, allocations: 110.9 MB / 0.7436 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.7892, allocations: 85.16 kB / 0.7437 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.021/0.8102, allocations: 7.916 MB / 0.7514 GB, free: 36.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.407e-06/0.8103, allocations: 2.781 kB / 0.7514 GB, free: 36.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.778e-05/0.8103, allocations: 8.75 kB / 0.7514 GB, free: 36.03 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001154/0.8115, allocations: 0.7026 MB / 0.7521 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.8115, allocations: 9.625 kB / 0.7521 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.8117, allocations: 58.8 kB / 0.7522 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.8122, allocations: 406.2 kB / 0.7526 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.8123, allocations: 32.69 kB / 0.7526 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.8124, allocations: 35.88 kB / 0.7526 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.8131, allocations: 433 kB / 0.7531 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.8131, allocations: 1.875 kB / 0.7531 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.8132, allocations: 14.62 kB / 0.7531 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.8132, allocations: 13.11 kB / 0.7531 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.8139, allocations: 300.7 kB / 0.7534 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.8159, allocations: 1.387 MB / 0.7547 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.8166, allocations: 360.5 kB / 0.7551 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.8167, allocations: 6.469 kB / 0.7551 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.8171, allocations: 198.5 kB / 0.7553 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/0.8171, allocations: 0 / 0.7553 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0008729/0.818, allocations: 435.6 kB / 0.7557 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.8181, allocations: 132.4 kB / 0.7558 GB, free: 34.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.8185, allocations: 322.4 kB / 0.7561 GB, free: 34.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.8185, allocations: 35.36 kB / 0.7561 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.8187, allocations: 229.9 kB / 0.7564 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/0.8188, allocations: 103.1 kB / 0.7565 GB, free: 33.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.8188, allocations: 6.281 kB / 0.7565 GB, free: 33.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.8189, allocations: 354.5 kB / 0.7568 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.8192, allocations: 118.1 kB / 0.7569 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.8195, allocations: 188.9 kB / 0.7571 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.8197, allocations: 130.5 kB / 0.7572 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8197, allocations: 0 / 0.7572 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005983/0.8203, allocations: 376.9 kB / 0.7576 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.8205, allocations: 451.4 kB / 0.758 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.8205, allocations: 4.609 kB / 0.758 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.8205, allocations: 2.5 kB / 0.758 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.8208, allocations: 66.27 kB / 0.7581 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.8208, allocations: 6.75 kB / 0.7581 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.8211, allocations: 50.12 kB / 0.7581 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.8211, allocations: 12.38 kB / 0.7582 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.8211, allocations: 2.875 kB / 0.7582 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005228/0.8217, allocations: 277.4 kB / 0.7584 GB, free: 32.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8217, allocations: 11.73 kB / 0.7584 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.8217, allocations: 2.203 kB / 0.7584 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.8219, allocations: 63.95 kB / 0.7585 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.8219, allocations: 4.031 kB / 0.7585 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.8222, allocations: 40.75 kB / 0.7585 GB, free: 32.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.8222, allocations: 11.12 kB / 0.7585 GB, free: 32.78 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002403/0.8224, allocations: 251.8 kB / 0.7588 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.8225, allocations: 38.75 kB / 0.7588 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.8226, allocations: 54.73 kB / 0.7589 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.8226, allocations: 3.781 kB / 0.7589 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.8226, allocations: 0 / 0.7589 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.8226, allocations: 3.375 kB / 0.7589 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.8239, allocations: 0.8609 MB / 0.7597 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8239, allocations: 3.953 kB / 0.7597 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.8241, allocations: 58.94 kB / 0.7598 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.8241, allocations: 5.594 kB / 0.7598 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.8242, allocations: 6.984 kB / 0.7598 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.8242, allocations: 1.719 kB / 0.7598 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8242, allocations: 0 / 0.7598 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.8251, allocations: 0.5696 MB / 0.7604 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.8253, allocations: 149.1 kB / 0.7605 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.8253, allocations: 6.562 kB / 0.7605 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.8255, allocations: 32.08 kB / 0.7605 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.8256, allocations: 27.5 kB / 0.7606 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.8257, allocations: 9.594 kB / 0.7606 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002706/0.8259, allocations: 251.3 kB / 0.7608 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.826, allocations: 3.938 kB / 0.7608 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005851/0.8265, allocations: 158.2 kB / 0.761 GB, free: 31.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000162/0.8267, allocations: 121.2 kB / 0.7611 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008846/0.8276, allocations: 448.3 kB / 0.7615 GB, free: 31.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8276, allocations: 2.109 kB / 0.7615 GB, free: 31.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.8279, allocations: 154.6 kB / 0.7617 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.8284, allocations: 79.98 kB / 0.7617 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.83, allocations: 0.9787 MB / 0.7627 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.8303, allocations: 0.8286 MB / 0.7635 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002345/0.8306, allocations: 51.06 kB / 0.7635 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.954e-05/0.8307, allocations: 30 kB / 0.7636 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/0.8307, allocations: 4 kB / 0.7636 GB, free: 30.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.01009/0.8408, allocations: 4.004 MB / 0.7675 GB, free: 30.16 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)