Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 197 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9433/0.9433, allocations: 143 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1731, allocations: 82.04 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004752/0.1779, allocations: 3.162 MB / 0.5967 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1795, allocations: 0.931 MB / 0.5976 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.1797, allocations: 11.94 kB / 0.5976 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.18, allocations: 51.52 kB / 0.5977 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.1802, allocations: 75.42 kB / 0.5977 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.1807, allocations: 229.6 kB / 0.598 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.1811, allocations: 0.4997 MB / 0.5984 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.1815, allocations: 231.3 kB / 0.5987 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.1817, allocations: 183.1 kB / 0.5988 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.1819, allocations: 186.8 kB / 0.599 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.182, allocations: 27.98 kB / 0.599 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.182, allocations: 28 kB / 0.5991 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/0.1821, allocations: 75.69 kB / 0.5991 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1823, allocations: 210.6 kB / 0.5993 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.1829, allocations: 0.5724 MB / 0.5999 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1829, allocations: 0 / 0.5999 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.183, allocations: 0 / 0.5999 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.183, allocations: 0 / 0.5999 GB, free: 3.59 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001344/0.1843, allocations: 0.766 MB / 0.6006 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1844, allocations: 12.03 kB / 0.6007 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1845, allocations: 52.28 kB / 0.6007 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.1851, allocations: 420.6 kB / 0.6011 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.1852, allocations: 29.38 kB / 0.6011 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.1853, allocations: 40.38 kB / 0.6012 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.1859, allocations: 401.9 kB / 0.6016 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.186, allocations: 3.984 kB / 0.6016 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.186, allocations: 16 kB / 0.6016 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.186, allocations: 8 kB / 0.6016 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.1866, allocations: 267.8 kB / 0.6018 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.1884, allocations: 1.32 MB / 0.6031 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2487/0.4372, allocations: 297.3 kB / 0.6034 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.4375, allocations: 143.1 kB / 0.6036 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.4375, allocations: 6.359 kB / 0.6036 GB, free: 44.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.4379, allocations: 173.2 kB / 0.6037 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.396e-06/0.438, allocations: 0.625 kB / 0.6037 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007382/0.4387, allocations: 389.1 kB / 0.6041 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4387, allocations: 83.03 kB / 0.6042 GB, free: 43.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.4391, allocations: 350.8 kB / 0.6045 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.4391, allocations: 36.45 kB / 0.6045 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4393, allocations: 235.7 kB / 0.6048 GB, free: 43.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.4393, allocations: 96.22 kB / 0.6049 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.4394, allocations: 78.53 kB / 0.6049 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.4395, allocations: 354.3 kB / 0.6053 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.4397, allocations: 98.78 kB / 0.6054 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.4399, allocations: 168.2 kB / 0.6055 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.4403, allocations: 260.5 kB / 0.6058 GB, free: 43.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4403, allocations: 2.188 kB / 0.6058 GB, free: 43.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005684/0.4409, allocations: 352.4 kB / 0.6061 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4409, allocations: 5.688 kB / 0.6061 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4409, allocations: 2.906 kB / 0.6061 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.441, allocations: 2.781 kB / 0.6061 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.4412, allocations: 68.12 kB / 0.6062 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4412, allocations: 0 / 0.6062 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.4414, allocations: 43.86 kB / 0.6062 GB, free: 43.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.4415, allocations: 14.66 kB / 0.6062 GB, free: 43.08 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.4416, allocations: 176.6 kB / 0.6064 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.4417, allocations: 39.34 kB / 0.6065 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.973e-05/0.4418, allocations: 42.39 kB / 0.6065 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4418, allocations: 6.656 kB / 0.6065 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4418, allocations: 0 / 0.6065 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4418, allocations: 6.688 kB / 0.6065 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.4427, allocations: 0.8061 MB / 0.6073 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4427, allocations: 0 / 0.6073 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.443, allocations: 48.23 kB / 0.6073 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.443, allocations: 0 / 0.6073 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.443, allocations: 13.86 kB / 0.6074 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.443, allocations: 4.562 kB / 0.6074 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.443, allocations: 3.938 kB / 0.6074 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.4437, allocations: 0.5118 MB / 0.6079 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4438, allocations: 143.1 kB / 0.608 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.4439, allocations: 6.125 kB / 0.608 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.4441, allocations: 15.67 kB / 0.608 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.4441, allocations: 31 kB / 0.608 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.4441, allocations: 13.78 kB / 0.6081 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001773/0.4443, allocations: 242.9 kB / 0.6083 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4443, allocations: 0 / 0.6083 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003231/0.4447, allocations: 88.69 kB / 0.6084 GB, free: 42.24 MB / 0.4981 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.greaterEqualThreshold.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.502e-05/0.4448, allocations: 112.5 kB / 0.6085 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.4452, allocations: 264.7 kB / 0.6087 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4452, allocations: 4.969 kB / 0.6087 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.4454, allocations: 129.7 kB / 0.6089 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.4459, allocations: 80.17 kB / 0.6089 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.4471, allocations: 0.978 MB / 0.6099 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.4473, allocations: 0.8136 MB / 0.6107 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.4475, allocations: 46.88 kB / 0.6107 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.4476, allocations: 30.53 kB / 0.6108 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.4476, allocations: 0 / 0.6108 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.00617/0.4538, allocations: 3.391 MB / 0.6141 GB, free: 40.53 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)