Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7523/0.7523, allocations: 128.8 MB / 143.7 MB, free: 2.301 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.001139/0.001139, allocations: 182.3 kB / 173.8 MB, free: 6.109 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.791/1.791, allocations: 205.4 MB / 409 MB, free: 10.48 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.001041/0.001041, allocations: 93.14 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.000458, allocations: 9.25 kB / 0.5603 GB, free: 97.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1935, allocations: 76.76 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5786/0.7722, allocations: 111.1 MB / 0.7438 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.7725, allocations: 87.81 kB / 0.7439 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.05827/0.8308, allocations: 20.81 MB / 0.7642 GB, free: 35.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8309, allocations: 4 kB / 0.7642 GB, free: 35.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001207/0.831, allocations: 28.84 kB / 0.7643 GB, free: 35.34 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002577/0.8336, allocations: 1.265 MB / 0.7655 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.8337, allocations: 12.66 kB / 0.7655 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.8339, allocations: 127.4 kB / 0.7656 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.8353, allocations: 0.7472 MB / 0.7664 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.8355, allocations: 82.7 kB / 0.7664 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.8356, allocations: 76.33 kB / 0.7665 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.8369, allocations: 0.7917 MB / 0.7673 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.837, allocations: 0 / 0.7673 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.837, allocations: 28.94 kB / 0.7673 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.8371, allocations: 16.06 kB / 0.7673 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.8382, allocations: 0.5735 MB / 0.7679 GB, free: 33.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.8416, allocations: 2.384 MB / 0.7702 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.8432, allocations: 0.7046 MB / 0.7709 GB, free: 33.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.8433, allocations: 11.06 kB / 0.7709 GB, free: 33.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008366/0.8441, allocations: 356.2 kB / 0.7713 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.8441, allocations: 1.375 kB / 0.7713 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.002157/0.8463, allocations: 0.8218 MB / 0.7721 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.8464, allocations: 140 kB / 0.7722 GB, free: 32.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.8477, allocations: 0.6604 MB / 0.7728 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.8479, allocations: 44.25 kB / 0.7729 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.8483, allocations: 446.1 kB / 0.7733 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.8486, allocations: 218.1 kB / 0.7735 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.8486, allocations: 16.94 kB / 0.7735 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8487, allocations: 331.4 kB / 0.7739 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.8493, allocations: 218 kB / 0.7741 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/0.8501, allocations: 348.9 kB / 0.7744 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.8509, allocations: 264 kB / 0.7746 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.851, allocations: 1.219 kB / 0.7746 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002198/0.8532, allocations: 0.7029 MB / 0.7753 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002911/0.8535, allocations: 0.8793 MB / 0.7762 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.8535, allocations: 0 / 0.7762 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.618e-05/0.8535, allocations: 7.812 kB / 0.7762 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000947/0.8545, allocations: 153.2 kB / 0.7763 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.8545, allocations: 11.75 kB / 0.7764 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008277/0.8554, allocations: 88.48 kB / 0.7764 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.8554, allocations: 19.31 kB / 0.7765 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8555, allocations: 3.906 kB / 0.7765 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000872/0.8563, allocations: 0.5109 MB / 0.777 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8564, allocations: 3.906 kB / 0.777 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.8564, allocations: 3.938 kB / 0.777 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.857, allocations: 141.8 kB / 0.7771 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8571, allocations: 7.844 kB / 0.7771 GB, free: 30.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.8576, allocations: 65.45 kB / 0.7772 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.8577, allocations: 22.75 kB / 0.7772 GB, free: 30.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0007413/0.8584, allocations: 301.7 kB / 0.7775 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.8586, allocations: 105.4 kB / 0.7776 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.8588, allocations: 101.3 kB / 0.7777 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.8588, allocations: 7.812 kB / 0.7777 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/0.8588, allocations: 4 kB / 0.7777 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.8589, allocations: 3.234 kB / 0.7777 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.8611, allocations: 1.532 MB / 0.7792 GB, free: 30.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8611, allocations: 0 / 0.7792 GB, free: 30.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.8616, allocations: 112.3 kB / 0.7793 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.8617, allocations: 3.906 kB / 0.7793 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.8617, allocations: 14.91 kB / 0.7793 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.8617, allocations: 3.938 kB / 0.7793 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8617, allocations: 7.859 kB / 0.7793 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.8634, allocations: 1.044 MB / 0.7803 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.8636, allocations: 237.5 kB / 0.7806 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.8637, allocations: 11.69 kB / 0.7806 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/0.8643, allocations: 57.12 kB / 0.7806 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.8644, allocations: 31.23 kB / 0.7807 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.8644, allocations: 23.16 kB / 0.7807 GB, free: 29.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006321/0.865, allocations: 0.5225 MB / 0.7812 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.865, allocations: 0 / 0.7812 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007655/0.8658, allocations: 287.7 kB / 0.7815 GB, free: 29.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002055/0.866, allocations: 129.4 kB / 0.7816 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.8674, allocations: 0.8443 MB / 0.7824 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8675, allocations: 4.188 kB / 0.7824 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.8679, allocations: 292.6 kB / 0.7827 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.869, allocations: 244.4 kB / 0.7829 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.8716, allocations: 1.839 MB / 0.7847 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.872, allocations: 1.02 MB / 0.7857 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000552/0.8725, allocations: 118.6 kB / 0.7858 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.8727, allocations: 65.56 kB / 0.7859 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.704e-06/0.8727, allocations: 0 / 0.7859 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.01578/0.8885, allocations: 9.58 MB / 0.7953 GB, free: 26.94 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)