Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.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.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 112.9 kB / 16.42 MB, free: 6.441 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.001115/0.001115, allocations: 192 kB / 17.35 MB, free: 5.738 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.8479/0.8479, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 71.8 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1323, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06414/0.1965, allocations: 67.52 MB / 0.7423 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3247/0.5213, allocations: 18.65 MB / 0.7605 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.524, allocations: 95.91 kB / 0.7606 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004833/0.5289, allocations: 2.009 MB / 0.7625 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007043/0.5359, allocations: 2.959 MB / 0.7654 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00599/0.5419, allocations: 2.443 MB / 0.7678 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.5537, allocations: 8.309 MB / 0.7759 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.5565, allocations: 1.947 MB / 0.7778 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004571/0.5611, allocations: 2.16 MB / 0.7799 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/0.5634, allocations: 1.574 MB / 0.7815 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003628/0.5637, allocations: 202 kB / 0.7817 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004458/0.5682, allocations: 2.157 MB / 0.7838 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006342/0.5689, allocations: 0.7015 MB / 0.7845 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.5703, allocations: 1.336 MB / 0.7858 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005167/0.5754, allocations: 4.447 MB / 0.7901 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.5755, allocations: 0 / 0.7901 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5755, allocations: 5.312 kB / 0.7901 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.408e-05/0.5755, allocations: 4 kB / 0.7901 GB, free: 7.09 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004497/0.58, allocations: 3.116 MB / 0.7932 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.58, allocations: 12.44 kB / 0.7932 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.582, allocations: 487.7 kB / 0.7936 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.5864, allocations: 2.903 MB / 0.7965 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.5865, allocations: 101.4 kB / 0.7966 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.5867, allocations: 134.5 kB / 0.7967 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.589, allocations: 1.447 MB / 0.7981 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.5891, allocations: 6.406 kB / 0.7981 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.5892, allocations: 50.84 kB / 0.7982 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.5892, allocations: 47 kB / 0.7982 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.5916, allocations: 1.124 MB / 0.7993 GB, free: 0.9727 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008928/0.6005, allocations: 7.775 MB / 0.8069 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.6026, allocations: 1.276 MB / 0.8081 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009476/0.6035, allocations: 445.7 kB / 0.8086 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004544/0.6081, allocations: 2.73 MB / 0.8112 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.6092, allocations: 481.2 kB / 0.8117 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 3.747e-06/0.6092, allocations: 0 / 0.8117 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62): time 0.003077/0.6123, allocations: 1.24 MB / 0.8129 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.6124, allocations: 115.5 kB / 0.813 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/0.6152, allocations: 2.097 MB / 0.8151 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.6153, allocations: 45.64 kB / 0.8151 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009059/0.6162, allocations: 1.042 MB / 0.8161 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.6164, allocations: 231.6 kB / 0.8163 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004277/0.6168, allocations: 306.6 kB / 0.8166 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.6169, allocations: 301.1 kB / 0.8169 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.6181, allocations: 0.5506 MB / 0.8175 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.6196, allocations: 0.9663 MB / 0.8184 GB, free: 36 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.6219, allocations: 1.426 MB / 0.8198 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.622, allocations: 7.938 kB / 0.8198 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003285/0.6253, allocations: 1.744 MB / 0.8215 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.6253, allocations: 37.7 kB / 0.8215 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.6253, allocations: 12 kB / 0.8216 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/0.6254, allocations: 20.66 kB / 0.8216 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.6265, allocations: 303.5 kB / 0.8219 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.6266, allocations: 23.92 kB / 0.8219 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.6279, allocations: 174.5 kB / 0.8221 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.628, allocations: 63.98 kB / 0.8221 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001786/0.6298, allocations: 0.9775 MB / 0.8231 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001406/0.6312, allocations: 0.974 MB / 0.824 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00232/0.6335, allocations: 1.424 MB / 0.8254 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.753e-06/0.6336, allocations: 7.938 kB / 0.8254 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003299/0.6369, allocations: 1.745 MB / 0.8271 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.6369, allocations: 41.69 kB / 0.8272 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.6369, allocations: 12.19 kB / 0.8272 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.637, allocations: 16 kB / 0.8272 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.6381, allocations: 303.9 kB / 0.8275 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.939e-05/0.6381, allocations: 25.56 kB / 0.8275 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.6394, allocations: 147.1 kB / 0.8276 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.6395, allocations: 63.98 kB / 0.8277 GB, free: 6.02 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003013/0.6398, allocations: 259.8 kB / 0.828 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.6401, allocations: 201.4 kB / 0.8281 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.6427, allocations: 1.076 MB / 0.8292 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001813/0.6446, allocations: 0.7764 MB / 0.83 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6446, allocations: 4 kB / 0.83 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.6452, allocations: 406 kB / 0.8303 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.6455, allocations: 12 kB / 0.8304 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009363/0.6464, allocations: 75.86 kB / 0.8304 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.6465, allocations: 44.5 kB / 0.8305 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002787/0.6493, allocations: 1.178 MB / 0.8316 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003246/0.6526, allocations: 1.749 MB / 0.8333 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009212/0.6535, allocations: 404.3 kB / 0.8337 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002071/0.6556, allocations: 1.393 MB / 0.8351 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of Backend: time 2.81e-07/0.6556, allocations: 0 / 0.8351 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006029/0.6617, allocations: 2.522 MB / 0.8375 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of SimCode: time 0.008071/0.6697, allocations: 4.802 MB / 0.8422 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of Templates: time 0.07383/0.7436, allocations: 46.53 MB / 0.8877 GB, free: 9.102 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)