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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.00101/0.00101, allocations: 108 kB / 15.61 MB, free: 152 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.00105/0.00105, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.043/1.043, allocations: 143.3 MB / 433.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 63.91 kB / 0.5144 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1874, allocations: 82.03 MB / 0.5945 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005037/0.1925, allocations: 3.131 MB / 0.5976 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1944, allocations: 0.9623 MB / 0.5985 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.1946, allocations: 15.94 kB / 0.5985 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1948, allocations: 79.12 kB / 0.5986 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.195, allocations: 95.11 kB / 0.5987 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.1955, allocations: 239.2 kB / 0.5989 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.196, allocations: 0.5427 MB / 0.5995 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.1963, allocations: 251.5 kB / 0.5997 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.1966, allocations: 207 kB / 0.5999 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.1968, allocations: 203 kB / 0.6001 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.1969, allocations: 52 kB / 0.6001 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.1969, allocations: 52 kB / 0.6002 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.901e-05/0.197, allocations: 115.5 kB / 0.6003 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.1972, allocations: 242.7 kB / 0.6005 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.1978, allocations: 0.5959 MB / 0.6011 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1978, allocations: 0 / 0.6011 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1978, allocations: 0 / 0.6011 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.1978, allocations: 0 / 0.6011 GB, free: 2.586 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.001117/0.199, allocations: 0.7621 MB / 0.6018 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.199, allocations: 12.62 kB / 0.6019 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.2e-05/0.1991, allocations: 52.28 kB / 0.6019 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.1997, allocations: 416.6 kB / 0.6023 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.1997, allocations: 29.38 kB / 0.6023 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.1998, allocations: 36.38 kB / 0.6024 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.2005, allocations: 405.9 kB / 0.6028 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2005, allocations: 4 kB / 0.6028 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.2005, allocations: 16 kB / 0.6028 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2006, allocations: 8 kB / 0.6028 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.2011, allocations: 263.8 kB / 0.603 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3865/0.5876, allocations: 1.308 MB / 0.6043 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.5882, allocations: 314.1 kB / 0.6046 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.5885, allocations: 133.3 kB / 0.6047 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.5885, allocations: 10.31 kB / 0.6047 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003528/0.5889, allocations: 172.9 kB / 0.6049 GB, free: 43.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.5889, allocations: 2.078 kB / 0.6049 GB, free: 43.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007212/0.5896, allocations: 387.1 kB / 0.6053 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.5896, allocations: 81.39 kB / 0.6054 GB, free: 43.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.5899, allocations: 355.7 kB / 0.6057 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.59, allocations: 36.48 kB / 0.6057 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5901, allocations: 233.5 kB / 0.606 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.5902, allocations: 102.3 kB / 0.6061 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.5903, allocations: 77.08 kB / 0.6061 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.5903, allocations: 350.5 kB / 0.6065 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.5905, allocations: 105.2 kB / 0.6066 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5908, allocations: 166.7 kB / 0.6067 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.5912, allocations: 252.4 kB / 0.607 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5912, allocations: 7.219 kB / 0.607 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005148/0.5917, allocations: 352.8 kB / 0.6073 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5917, allocations: 9.703 kB / 0.6073 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5918, allocations: 0 / 0.6073 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5918, allocations: 6.031 kB / 0.6073 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.592, allocations: 68.42 kB / 0.6074 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.592, allocations: 3.281 kB / 0.6074 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.5922, allocations: 41.08 kB / 0.6074 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.5923, allocations: 12.41 kB / 0.6074 GB, free: 42.69 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.0001635/0.5924, allocations: 168.4 kB / 0.6076 GB, free: 42.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.5925, allocations: 42.59 kB / 0.6076 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.127e-05/0.5926, allocations: 52.41 kB / 0.6077 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5926, allocations: 5.984 kB / 0.6077 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.5926, allocations: 3.031 kB / 0.6077 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5926, allocations: 1.984 kB / 0.6077 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009007/0.5935, allocations: 0.8072 MB / 0.6085 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.5935, allocations: 0.5 kB / 0.6085 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.5937, allocations: 49.98 kB / 0.6085 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.5938, allocations: 0 / 0.6085 GB, free: 42.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.5938, allocations: 7.281 kB / 0.6085 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.5938, allocations: 4.031 kB / 0.6086 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5938, allocations: 0 / 0.6086 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.5945, allocations: 0.5206 MB / 0.6091 GB, free: 41.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.5946, allocations: 142.8 kB / 0.6092 GB, free: 41.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.5947, allocations: 8.156 kB / 0.6092 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.5948, allocations: 16.39 kB / 0.6092 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.5949, allocations: 26.53 kB / 0.6092 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.5949, allocations: 15.23 kB / 0.6093 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002356/0.5952, allocations: 240.9 kB / 0.6095 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5952, allocations: 0 / 0.6095 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003585/0.5956, allocations: 89.94 kB / 0.6096 GB, free: 41.46 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.0001255/0.5957, allocations: 115.2 kB / 0.6097 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00055/0.5962, allocations: 280.8 kB / 0.61 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5963, allocations: 2.719 kB / 0.61 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.5965, allocations: 132.3 kB / 0.6101 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.597, allocations: 87.31 kB / 0.6102 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.5984, allocations: 0.8093 MB / 0.611 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.5986, allocations: 0.8122 MB / 0.6117 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.5988, allocations: 51.38 kB / 0.6118 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.5989, allocations: 27.59 kB / 0.6118 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5989, allocations: 0 / 0.6118 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.006948/0.6058, allocations: 3.652 MB / 0.6154 GB, free: 39.88 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)