Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.595/1.595, allocations: 288.4 MB / 304.3 MB, free: 7.996 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.0009514/0.0009514, allocations: 181.6 kB / 372.9 MB, free: 10.13 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.355/1.355, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007386/0.0007387, allocations: 94.23 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 16.97 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1851, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05116/0.2364, allocations: 61.83 MB / 1.041 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.2605, allocations: 18.16 MB / 1.059 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.2631, allocations: 79.44 kB / 1.059 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.2658, allocations: 0.8972 MB / 1.06 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007022/0.2728, allocations: 2.228 MB / 1.062 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01266/0.2855, allocations: 2.82 MB / 1.065 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.4048/0.6903, allocations: 6.025 MB / 1.071 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003032/0.6934, allocations: 1.565 MB / 1.072 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/0.6974, allocations: 1.724 MB / 1.074 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00288/0.7003, allocations: 1.368 MB / 1.075 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003705/0.7007, allocations: 79.31 kB / 1.075 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004717/0.7055, allocations: 1.863 MB / 1.077 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007507/0.7062, allocations: 435 kB / 1.077 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.7079, allocations: 0.9898 MB / 1.078 GB, free: 21.12 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00455/0.7124, allocations: 2.798 MB / 1.081 GB, free: 21.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.7125, allocations: 0 / 1.081 GB, free: 21.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7125, allocations: 0.75 kB / 1.081 GB, free: 21.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.904e-05/0.7126, allocations: 0 / 1.081 GB, free: 21.01 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.005472/0.718, allocations: 2.333 MB / 1.083 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.7181, allocations: 8.5 kB / 1.083 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.7196, allocations: 394.6 kB / 1.084 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.723, allocations: 1.799 MB / 1.086 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.7234, allocations: 168 kB / 1.086 GB, free: 19.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.7236, allocations: 139.8 kB / 1.086 GB, free: 19.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.7265, allocations: 1.463 MB / 1.087 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.7265, allocations: 8.781 kB / 1.087 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.7267, allocations: 55.75 kB / 1.087 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.7267, allocations: 35.88 kB / 1.087 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.7294, allocations: 1.135 MB / 1.089 GB, free: 18.77 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.00961/0.739, allocations: 7.381 MB / 1.096 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.7412, allocations: 1.366 MB / 1.097 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009497/0.7422, allocations: 463.3 kB / 1.098 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004093/0.7463, allocations: 2.594 MB / 1.1 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.7473, allocations: 0.5037 MB / 1.101 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007102/0.7481, allocations: 93.7 kB / 1.101 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 3.236e-06/0.7481, allocations: 0 / 1.101 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.002954/0.751, allocations: 1.286 MB / 1.102 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.7511, allocations: 188.4 kB / 1.102 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.7531, allocations: 1.51 MB / 1.104 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.7532, allocations: 41.52 kB / 1.104 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006187/0.7538, allocations: 0.896 MB / 1.104 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.754, allocations: 225.6 kB / 1.105 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.754, allocations: 21.8 kB / 1.105 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.7541, allocations: 348 kB / 1.105 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000913/0.755, allocations: 390.9 kB / 1.105 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.7561, allocations: 0.7704 MB / 1.106 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.758, allocations: 1.12 MB / 1.107 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.758, allocations: 2.719 kB / 1.107 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002772/0.7608, allocations: 1.321 MB / 1.109 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.761, allocations: 409 kB / 1.109 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.761, allocations: 9.969 kB / 1.109 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.7611, allocations: 15.25 kB / 1.109 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7621, allocations: 263.4 kB / 1.109 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/0.7621, allocations: 22.17 kB / 1.109 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.7637, allocations: 142.7 kB / 1.109 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/0.7638, allocations: 54.3 kB / 1.109 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.7639, allocations: 4.5 kB / 1.109 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002144/0.766, allocations: 1.149 MB / 1.111 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.766, allocations: 11.72 kB / 1.111 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.7661, allocations: 17.19 kB / 1.111 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009122/0.767, allocations: 259.4 kB / 1.111 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.767, allocations: 24.42 kB / 1.111 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.7686, allocations: 132.9 kB / 1.111 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/0.7687, allocations: 47.81 kB / 1.111 GB, free: 9.363 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.0009694/0.7696, allocations: 0.4907 MB / 1.111 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.7699, allocations: 171.3 kB / 1.112 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.7723, allocations: 1.1 MB / 1.113 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001748/0.774, allocations: 0.8268 MB / 1.114 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.774, allocations: 8.016 kB / 1.114 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.7747, allocations: 350.5 kB / 1.114 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.7749, allocations: 12.62 kB / 1.114 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/0.7759, allocations: 106.9 kB / 1.114 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.776, allocations: 51.89 kB / 1.114 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002576/0.7786, allocations: 1.25 MB / 1.115 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003039/0.7817, allocations: 1.771 MB / 1.117 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008459/0.7825, allocations: 429.6 kB / 1.117 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001579/0.7841, allocations: 1.009 MB / 1.118 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of Backend: time 6.01e-07/0.7841, allocations: 2.516 kB / 1.118 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005638/0.7898, allocations: 2.023 MB / 1.12 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of SimCode: time 0.008026/0.7978, allocations: 4.709 MB / 1.125 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of Templates: time 0.06071/0.8586, allocations: 37.32 MB / 1.161 GB, free: 13.94 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)