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.001091/0.001091, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 195.5 kB / 16.79 MB, free: 6.809 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.613 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 1.004/1.004, allocations: 143 MB / 433.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.5141 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1703, allocations: 82.04 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004604/0.175, allocations: 3.154 MB / 0.5973 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1768, allocations: 0.9311 MB / 0.5983 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.1771, allocations: 11.94 kB / 0.5983 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.1774, allocations: 51.52 kB / 0.5983 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1776, allocations: 79.36 kB / 0.5984 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.1781, allocations: 228.2 kB / 0.5986 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000499/0.1786, allocations: 0.4998 MB / 0.5991 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.1791, allocations: 243.3 kB / 0.5993 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.1793, allocations: 179 kB / 0.5995 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1795, allocations: 186.9 kB / 0.5997 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.1796, allocations: 24 kB / 0.5997 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.539e-05/0.1796, allocations: 28 kB / 0.5997 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.1797, allocations: 79.61 kB / 0.5998 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.1799, allocations: 206.7 kB / 0.6 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.1803, allocations: 483.2 kB / 0.6005 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1803, allocations: 0 / 0.6005 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.91e-07/0.1803, allocations: 0 / 0.6005 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.1804, allocations: 4 kB / 0.6005 GB, free: 3.711 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.001216/0.1816, allocations: 0.766 MB / 0.6012 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1816, allocations: 11.97 kB / 0.6012 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1817, allocations: 60.27 kB / 0.6013 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.1823, allocations: 408.6 kB / 0.6017 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.1824, allocations: 29.38 kB / 0.6017 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.1824, allocations: 36.38 kB / 0.6017 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.1831, allocations: 405.9 kB / 0.6021 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1832, allocations: 4 kB / 0.6021 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.1832, allocations: 16 kB / 0.6021 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1832, allocations: 8 kB / 0.6021 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/0.1838, allocations: 267.8 kB / 0.6024 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.1855, allocations: 1.313 MB / 0.6037 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3117/0.4972, allocations: 312.9 kB / 0.604 GB, free: 44.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.4976, allocations: 140.7 kB / 0.6041 GB, free: 44.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.4977, allocations: 5.719 kB / 0.6041 GB, free: 44.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004743/0.4982, allocations: 174.5 kB / 0.6043 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.357e-06/0.4982, allocations: 0 / 0.6043 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0008268/0.499, allocations: 381.5 kB / 0.6046 GB, free: 44.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.4991, allocations: 89.5 kB / 0.6047 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.4995, allocations: 348.9 kB / 0.6051 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.4995, allocations: 35.2 kB / 0.6051 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.4997, allocations: 234 kB / 0.6053 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.4998, allocations: 102.1 kB / 0.6054 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4999, allocations: 73.39 kB / 0.6055 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.5, allocations: 354.3 kB / 0.6058 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.5002, allocations: 103.6 kB / 0.6059 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.5004, allocations: 168.8 kB / 0.6061 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.5008, allocations: 257.8 kB / 0.6063 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5008, allocations: 0 / 0.6063 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005787/0.5014, allocations: 349.2 kB / 0.6067 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5014, allocations: 8.766 kB / 0.6067 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.5015, allocations: 2.75 kB / 0.6067 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5015, allocations: 3.094 kB / 0.6067 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.5018, allocations: 66.06 kB / 0.6067 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5018, allocations: 9.219 kB / 0.6068 GB, free: 43.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.502, allocations: 39.92 kB / 0.6068 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.502, allocations: 14.59 kB / 0.6068 GB, free: 43.27 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.000177/0.5022, allocations: 175.5 kB / 0.607 GB, free: 43.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.5023, allocations: 37.69 kB / 0.607 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.75e-05/0.5024, allocations: 45.52 kB / 0.6071 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5024, allocations: 2.5 kB / 0.6071 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5024, allocations: 0 / 0.6071 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5024, allocations: 0 / 0.6071 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.5034, allocations: 0.8226 MB / 0.6079 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5034, allocations: 0 / 0.6079 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.5037, allocations: 46 kB / 0.6079 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5037, allocations: 0 / 0.6079 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.5037, allocations: 5.594 kB / 0.6079 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.5037, allocations: 2.891 kB / 0.6079 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5037, allocations: 3.938 kB / 0.6079 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007311/0.5045, allocations: 0.5152 MB / 0.6084 GB, free: 42.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5046, allocations: 137.8 kB / 0.6085 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.5047, allocations: 12.16 kB / 0.6086 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.5049, allocations: 18.73 kB / 0.6086 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.5049, allocations: 28.88 kB / 0.6086 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.505, allocations: 6.25 kB / 0.6086 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002119/0.5052, allocations: 248.6 kB / 0.6088 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.102e-06/0.5052, allocations: 0 / 0.6088 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003504/0.5055, allocations: 91.61 kB / 0.6089 GB, free: 42.42 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 0.0001075/0.5056, allocations: 112.9 kB / 0.609 GB, free: 42.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005067/0.5062, allocations: 272.2 kB / 0.6093 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5062, allocations: 0 / 0.6093 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.5064, allocations: 127.7 kB / 0.6094 GB, free: 42.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.5069, allocations: 79.03 kB / 0.6095 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.5083, allocations: 1.008 MB / 0.6105 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.5085, allocations: 0.8126 MB / 0.6113 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.5086, allocations: 29.41 kB / 0.6113 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.5087, allocations: 4 kB / 0.6113 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.007422/0.5161, allocations: 4.827 MB / 0.616 GB, free: 40.48 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)