Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 108 kB / 16.42 MB, free: 6.449 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.00144/0.00144, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8947/0.8961, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1462/1.042, allocations: 130.9 MB / 1.216 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03871/1.081, allocations: 25.11 MB / 1.241 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005908/1.087, allocations: 135.7 kB / 1.241 GB, free: 480 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005652/1.093, allocations: 1.793 MB / 1.243 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/1.107, allocations: 4.719 MB / 1.247 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009798/1.117, allocations: 3.529 MB / 1.251 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01422/1.131, allocations: 9.045 MB / 1.26 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005722/1.137, allocations: 3.195 MB / 1.263 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008114/1.145, allocations: 3.549 MB / 1.266 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/1.149, allocations: 2.466 MB / 1.269 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001197/1.151, allocations: 396 kB / 1.269 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007407/1.158, allocations: 2.89 MB / 1.272 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/1.159, allocations: 0.8916 MB / 1.273 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003638/1.163, allocations: 1.976 MB / 1.275 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/1.174, allocations: 6.347 MB / 1.281 GB, free: 8.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.174, allocations: 4 kB / 1.281 GB, free: 8.766 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/1.174, allocations: 0 / 1.281 GB, free: 8.766 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000148/1.174, allocations: 0 / 1.281 GB, free: 8.766 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008807/1.183, allocations: 4.063 MB / 1.285 GB, free: 4.598 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.183, allocations: 8.031 kB / 1.285 GB, free: 4.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/1.193, allocations: 1.284 MB / 1.286 GB, free: 3.301 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006616/1.2, allocations: 2.981 MB / 1.289 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/1.2, allocations: 252 kB / 1.289 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006591/1.201, allocations: 239.9 kB / 1.29 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008386/1.209, allocations: 3.115 MB / 1.293 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.053e-05/1.21, allocations: 7.938 kB / 1.293 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004023/1.21, allocations: 108 kB / 1.293 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-05/1.21, allocations: 63.98 kB / 1.293 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009076/1.219, allocations: 2.717 MB / 1.295 GB, free: 9.539 MB / 1.029 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.02165/1.241, allocations: 13.22 MB / 1.308 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/1.245, allocations: 1.394 MB / 1.31 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/1.248, allocations: 0.8742 MB / 1.311 GB, free: 9.418 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001949/1.25, allocations: 1.777 MB / 1.312 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003715/1.254, allocations: 1.134 MB / 1.313 GB, free: 6.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=126): time 5.951e-06/1.254, allocations: 0 / 1.313 GB, free: 6.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=126): time 0.02237/1.276, allocations: 4.068 MB / 1.317 GB, free: 1.934 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000259/1.276, allocations: 0.5806 MB / 1.318 GB, free: 1.215 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004978/1.281, allocations: 2.536 MB / 1.32 GB, free: 14.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003582/1.282, allocations: 57.7 kB / 1.32 GB, free: 14.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.283, allocations: 1.344 MB / 1.322 GB, free: 13.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006135/1.284, allocations: 441.7 kB / 1.322 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009909/1.285, allocations: 458.9 kB / 1.323 GB, free: 12.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/1.285, allocations: 305.1 kB / 1.323 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/1.289, allocations: 0.9493 MB / 1.324 GB, free: 11.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/1.293, allocations: 1.521 MB / 1.325 GB, free: 9.328 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/1.3, allocations: 2.156 MB / 1.327 GB, free: 7.004 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/1.3, allocations: 4 kB / 1.327 GB, free: 7 MB / 1.061 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.012/1.312, allocations: 3.015 MB / 1.33 GB, free: 3.961 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/1.312, allocations: 41.69 kB / 1.33 GB, free: 3.914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/1.312, allocations: 12 kB / 1.33 GB, free: 3.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/1.315, allocations: 0.7024 MB / 1.331 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/1.318, allocations: 499.1 kB / 1.332 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/1.32, allocations: 1.778 MB / 1.333 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00447/1.325, allocations: 413.5 kB / 1.334 GB, free: 492 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/1.325, allocations: 107.9 kB / 1.334 GB, free: 384 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004878/1.33, allocations: 1.437 MB / 1.335 GB, free: 14.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004099/1.334, allocations: 1.505 MB / 1.337 GB, free: 13.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006823/1.341, allocations: 2.129 MB / 1.339 GB, free: 10.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.366e-05/1.341, allocations: 4 kB / 1.339 GB, free: 10.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.01155/1.353, allocations: 2.983 MB / 1.342 GB, free: 7.891 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/1.353, allocations: 41.69 kB / 1.342 GB, free: 7.844 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/1.353, allocations: 12.91 kB / 1.342 GB, free: 7.832 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002446/1.355, allocations: 0.7071 MB / 1.342 GB, free: 7.129 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/1.358, allocations: 495.4 kB / 1.343 GB, free: 6.645 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/1.36, allocations: 1.782 MB / 1.345 GB, free: 4.812 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/1.365, allocations: 359 kB / 1.345 GB, free: 4.461 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/1.365, allocations: 107.9 kB / 1.345 GB, free: 4.355 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005996/1.365, allocations: 303.8 kB / 1.345 GB, free: 4.051 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008632/1.366, allocations: 272.7 kB / 1.346 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.378, allocations: 2.493 MB / 1.348 GB, free: 1.281 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01017/1.388, allocations: 2.126 MB / 1.35 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.388, allocations: 4 kB / 1.35 GB, free: 15.1 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.39, allocations: 0.5677 MB / 1.351 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000765/1.39, allocations: 35.98 kB / 1.351 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003189/1.393, allocations: 203.6 kB / 1.351 GB, free: 14.28 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/1.394, allocations: 88.81 kB / 1.351 GB, free: 14.19 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01107/1.405, allocations: 2.966 MB / 1.354 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01041/1.415, allocations: 3.575 MB / 1.357 GB, free: 7.605 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003009/1.418, allocations: 0.8352 MB / 1.358 GB, free: 6.77 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003551/1.422, allocations: 1.766 MB / 1.36 GB, free: 5 MB / 1.092 GB Notification: Performance of Backend: time 4.41e-07/1.422, allocations: 0 / 1.36 GB, free: 5 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01482/1.437, allocations: 3.87 MB / 1.364 GB, free: 1.125 MB / 1.092 GB Notification: Performance of SimCode: time 0.01459/1.451, allocations: 6.212 MB / 1.37 GB, free: 10.89 MB / 1.107 GB Notification: Performance of Templates: time 0.1349/1.586, allocations: 86.96 MB / 1.455 GB, free: 4.664 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)