Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 180.8 kB / 326.3 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.32/2.32, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009205/0.0009201, allocations: 97.11 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006188/0.000619, allocations: 15.86 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2025, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.08335/0.2859, allocations: 64.45 MB / 0.9624 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02912/0.315, allocations: 13.75 MB / 0.9759 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.318, allocations: 63.62 kB / 0.9759 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.3214, allocations: 0.6327 MB / 0.9765 GB, free: 2.418 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008975/0.3304, allocations: 1.994 MB / 0.9785 GB, free: 428 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006958/0.3374, allocations: 1.438 MB / 0.9799 GB, free: 15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009276/0.3467, allocations: 5.05 MB / 0.9848 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00318/0.3499, allocations: 1.219 MB / 0.986 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004262/0.3542, allocations: 1.373 MB / 0.9874 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.3571, allocations: 1.112 MB / 0.9884 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004974/0.3577, allocations: 68 kB / 0.9885 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/0.3634, allocations: 1.517 MB / 0.99 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008434/0.3643, allocations: 306.6 kB / 0.9903 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009424/0.3653, allocations: 396.8 kB / 0.9907 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006039/0.3713, allocations: 2.607 MB / 0.9932 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.3714, allocations: 3.938 kB / 0.9932 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3714, allocations: 7.938 kB / 0.9932 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.082e-05/0.3715, allocations: 0 / 0.9932 GB, free: 1.273 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006091/0.3776, allocations: 1.983 MB / 0.9952 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3777, allocations: 15.97 kB / 0.9952 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009716/0.3874, allocations: 0.6817 MB / 0.9958 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.3916, allocations: 1.495 MB / 0.9973 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.3919, allocations: 131.9 kB / 0.9974 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/0.3922, allocations: 120 kB / 0.9975 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006718/0.399, allocations: 1.622 MB / 0.9991 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.482e-05/0.3991, allocations: 3.938 kB / 0.9991 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.3993, allocations: 52 kB / 0.9992 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-05/0.3994, allocations: 35.94 kB / 0.9992 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008707/0.4081, allocations: 1.464 MB / 1.001 GB, free: 9.441 MB / 0.6511 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.01699/0.4252, allocations: 7.183 MB / 1.008 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004331/0.4295, allocations: 0.8062 MB / 1.008 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003307/0.4329, allocations: 0.5027 MB / 1.009 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002974/0.4359, allocations: 1.271 MB / 1.01 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/0.436, allocations: 51.12 kB / 1.01 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 3.597e-06/0.436, allocations: 0 / 1.01 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.01876/0.4548, allocations: 2.225 MB / 1.012 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.4549, allocations: 107.4 kB / 1.012 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.4584, allocations: 1.355 MB / 1.014 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.4587, allocations: 41.7 kB / 1.014 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000912/0.4596, allocations: 0.6842 MB / 1.015 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.46, allocations: 240.6 kB / 1.015 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.4601, allocations: 20 kB / 1.015 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4603, allocations: 337.9 kB / 1.015 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/0.464, allocations: 0.4899 MB / 1.016 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004096/0.4681, allocations: 0.7705 MB / 1.016 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003825/0.472, allocations: 0.5535 MB / 1.017 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.472, allocations: 0 / 1.017 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.009254/0.4813, allocations: 1.546 MB / 1.018 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.4816, allocations: 278.4 kB / 1.019 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.4816, allocations: 8 kB / 1.019 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/0.4842, allocations: 439.3 kB / 1.019 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/0.4869, allocations: 259.6 kB / 1.019 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.4895, allocations: 1.073 MB / 1.02 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/0.4937, allocations: 280.3 kB / 1.021 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.4939, allocations: 59.88 kB / 1.021 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4939, allocations: 4 kB / 1.021 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008374/0.5023, allocations: 1.39 MB / 1.022 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.5023, allocations: 8 kB / 1.022 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.5047, allocations: 439 kB / 1.022 GB, free: 2.074 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.5074, allocations: 259.6 kB / 1.023 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.5099, allocations: 1.072 MB / 1.024 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/0.5138, allocations: 246.8 kB / 1.024 GB, free: 492 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.5141, allocations: 63.88 kB / 1.024 GB, free: 428 kB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001133/0.5152, allocations: 445 kB / 1.024 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/0.5157, allocations: 146.2 kB / 1.025 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007575/0.5233, allocations: 1.317 MB / 1.026 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006827/0.5302, allocations: 1.131 MB / 1.027 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.5302, allocations: 0 / 1.027 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.5315, allocations: 378.9 kB / 1.027 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004622/0.532, allocations: 15.94 kB / 1.027 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003372/0.5354, allocations: 157.2 kB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.5357, allocations: 40.5 kB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01085/0.5465, allocations: 1.444 MB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01004/0.5566, allocations: 1.746 MB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003007/0.5597, allocations: 444.2 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0029/0.5626, allocations: 0.9496 MB / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of Backend: time 1.553e-06/0.5627, allocations: 0 / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01276/0.5754, allocations: 2.19 MB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of SimCode: time 0.01146/0.5869, allocations: 3.881 MB / 1.038 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of Templates: time 0.6692/1.256, allocations: 41.45 MB / 1.078 GB, free: 140 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)