Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.681/1.681, allocations: 287.4 MB / 303.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 172.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 0.6305 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 81 kB / 0.7438 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 15.5 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1799, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05626/0.2362, allocations: 61.83 MB / 1.04 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02607/0.2624, allocations: 18.16 MB / 1.057 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003326/0.2657, allocations: 75.5 kB / 1.057 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003189/0.2689, allocations: 0.827 MB / 1.058 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006479/0.2754, allocations: 2.105 MB / 1.06 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008082/0.2835, allocations: 2.784 MB / 1.063 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008305/0.2919, allocations: 6.053 MB / 1.069 GB, free: 176 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3783/0.6702, allocations: 1.539 MB / 1.07 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.6747, allocations: 1.681 MB / 1.072 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/0.678, allocations: 1.373 MB / 1.073 GB, free: 20.56 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007632/0.6788, allocations: 74.78 kB / 1.074 GB, free: 20.56 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004842/0.6837, allocations: 1.568 MB / 1.075 GB, free: 20.56 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.6848, allocations: 435.1 kB / 1.075 GB, free: 20.55 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.6861, allocations: 447 kB / 1.076 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005334/0.6914, allocations: 2.745 MB / 1.079 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6915, allocations: 0.875 kB / 1.079 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6915, allocations: 0 / 1.079 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001202/0.6916, allocations: 0 / 1.079 GB, free: 20.41 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006653/0.6983, allocations: 2.335 MB / 1.081 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6983, allocations: 8.781 kB / 1.081 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.7004, allocations: 389.2 kB / 1.081 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004619/0.705, allocations: 1.803 MB / 1.083 GB, free: 18.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/0.7055, allocations: 171.8 kB / 1.083 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/0.7059, allocations: 133 kB / 1.083 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/0.7095, allocations: 1.465 MB / 1.085 GB, free: 18.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/0.7096, allocations: 4.875 kB / 1.085 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.7097, allocations: 54.7 kB / 1.085 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.7098, allocations: 36.06 kB / 1.085 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/0.7128, allocations: 1.138 MB / 1.086 GB, free: 18.18 MB / 0.6823 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.01345/0.7262, allocations: 7.373 MB / 1.093 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.7291, allocations: 1.372 MB / 1.094 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.7303, allocations: 465.2 kB / 1.095 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005399/0.7358, allocations: 2.602 MB / 1.097 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.7371, allocations: 0.5022 MB / 1.098 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001152/0.7383, allocations: 90.64 kB / 1.098 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 5.28e-06/0.7384, allocations: 3.375 kB / 1.098 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.003755/0.7421, allocations: 1.275 MB / 1.099 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.7422, allocations: 193 kB / 1.099 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/0.7453, allocations: 1.508 MB / 1.101 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.7455, allocations: 50.16 kB / 1.101 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009017/0.7464, allocations: 0.8993 MB / 1.102 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.7467, allocations: 222.2 kB / 1.102 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.7467, allocations: 19.78 kB / 1.102 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.7468, allocations: 349.6 kB / 1.102 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009958/0.7478, allocations: 392.8 kB / 1.103 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.749, allocations: 0.7699 MB / 1.104 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/0.7509, allocations: 1.114 MB / 1.105 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.751, allocations: 7.469 kB / 1.105 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002946/0.7539, allocations: 1.32 MB / 1.106 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.7542, allocations: 410.3 kB / 1.106 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.7542, allocations: 11.98 kB / 1.106 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.7542, allocations: 13.97 kB / 1.106 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009968/0.7552, allocations: 260.2 kB / 1.107 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.7553, allocations: 23.83 kB / 1.107 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.757, allocations: 143.8 kB / 1.107 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7571, allocations: 52.09 kB / 1.107 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.7572, allocations: 2.906 kB / 1.107 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002382/0.7595, allocations: 1.15 MB / 1.108 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.7596, allocations: 13.12 kB / 1.108 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.7596, allocations: 16.5 kB / 1.108 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009776/0.7606, allocations: 255.4 kB / 1.108 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.7606, allocations: 20.31 kB / 1.108 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.7623, allocations: 132.1 kB / 1.108 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/0.7624, allocations: 50.42 kB / 1.108 GB, free: 8.773 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0009608/0.7634, allocations: 0.4991 MB / 1.109 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.7636, allocations: 166.2 kB / 1.109 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.766, allocations: 1.103 MB / 1.11 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001698/0.7677, allocations: 0.8271 MB / 1.111 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.7677, allocations: 0 / 1.111 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/0.7685, allocations: 349.7 kB / 1.111 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.7687, allocations: 16.22 kB / 1.111 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009784/0.7697, allocations: 104.2 kB / 1.111 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.7698, allocations: 61.64 kB / 1.111 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002586/0.7724, allocations: 1.234 MB / 1.113 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002999/0.7754, allocations: 1.776 MB / 1.114 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008338/0.7763, allocations: 435.6 kB / 1.115 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001574/0.7779, allocations: 1.005 MB / 1.116 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of Backend: time 5.81e-07/0.7779, allocations: 0 / 1.116 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005775/0.7837, allocations: 2.004 MB / 1.118 GB, free: 22.77 MB / 0.698 GB Notification: Performance of SimCode: time 0.008672/0.7924, allocations: 4.703 MB / 1.122 GB, free: 20.37 MB / 0.698 GB Notification: Performance of Templates: time 0.07577/0.8682, allocations: 36.88 MB / 1.158 GB, free: 15.7 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)