Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001407/0.001407, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.001571/0.001571, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7415/0.7429, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1298/0.8727, allocations: 130.9 MB / 1.295 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03635/0.9091, allocations: 25.12 MB / 1.32 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004313/0.9134, allocations: 135.2 kB / 1.32 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004732/0.9182, allocations: 1.79 MB / 1.322 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.9302, allocations: 4.723 MB / 1.326 GB, free: 0.707 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008488/0.9387, allocations: 3.52 MB / 1.33 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.9499, allocations: 9.048 MB / 1.338 GB, free: 4.145 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004848/0.9548, allocations: 3.195 MB / 1.342 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007511/0.9623, allocations: 3.539 MB / 1.345 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004243/0.9666, allocations: 2.466 MB / 1.347 GB, free: 10.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.9676, allocations: 392 kB / 1.348 GB, free: 10.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00671/0.9743, allocations: 2.88 MB / 1.351 GB, free: 7.602 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.9757, allocations: 0.8955 MB / 1.351 GB, free: 6.703 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00355/0.9793, allocations: 1.976 MB / 1.353 GB, free: 4.719 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.9898, allocations: 6.378 MB / 1.36 GB, free: 14.32 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.9898, allocations: 3.938 kB / 1.36 GB, free: 14.32 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9898, allocations: 0 / 1.36 GB, free: 14.32 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001809/0.99, allocations: 0 / 1.36 GB, free: 14.32 MB / 1.092 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.008881/0.9989, allocations: 4.176 MB / 1.364 GB, free: 10.04 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9989, allocations: 12.92 kB / 1.364 GB, free: 10.02 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009968/1.009, allocations: 1.301 MB / 1.365 GB, free: 8.719 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005733/1.015, allocations: 3.006 MB / 1.368 GB, free: 5.641 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/1.015, allocations: 251.9 kB / 1.368 GB, free: 5.379 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005891/1.016, allocations: 232 kB / 1.368 GB, free: 5.152 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008405/1.024, allocations: 3.115 MB / 1.371 GB, free: 1.855 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.958e-05/1.024, allocations: 7.938 kB / 1.371 GB, free: 1.848 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003625/1.024, allocations: 103.9 kB / 1.372 GB, free: 1.746 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/1.025, allocations: 75.92 kB / 1.372 GB, free: 1.672 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009286/1.034, allocations: 2.713 MB / 1.374 GB, free: 14.94 MB / 1.107 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.02195/1.056, allocations: 13.27 MB / 1.387 GB, free: 1.055 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004368/1.06, allocations: 1.388 MB / 1.389 GB, free: 15.66 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/1.063, allocations: 0.8698 MB / 1.389 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001948/1.065, allocations: 1.777 MB / 1.391 GB, free: 12.62 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003682/1.069, allocations: 1.134 MB / 1.392 GB, free: 11.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=126): time 5.981e-06/1.069, allocations: 0 / 1.392 GB, free: 11.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=126): time 0.02235/1.091, allocations: 4.074 MB / 1.396 GB, free: 7.301 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002658/1.092, allocations: 0.5805 MB / 1.397 GB, free: 6.586 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004988/1.097, allocations: 2.536 MB / 1.399 GB, free: 4.031 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/1.097, allocations: 57.7 kB / 1.399 GB, free: 3.969 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001385/1.098, allocations: 1.372 MB / 1.401 GB, free: 2.586 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005727/1.099, allocations: 464 kB / 1.401 GB, free: 2.129 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009613/1.1, allocations: 463.1 kB / 1.402 GB, free: 1.672 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.1, allocations: 305.1 kB / 1.402 GB, free: 1.371 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/1.104, allocations: 0.9454 MB / 1.403 GB, free: 432 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004252/1.108, allocations: 1.529 MB / 1.404 GB, free: 14.66 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007054/1.115, allocations: 2.152 MB / 1.406 GB, free: 12.34 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.115, allocations: 4 kB / 1.406 GB, free: 12.33 MB / 1.139 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01219/1.128, allocations: 3.024 MB / 1.409 GB, free: 9.285 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/1.128, allocations: 49.56 kB / 1.409 GB, free: 9.23 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/1.128, allocations: 12 kB / 1.409 GB, free: 9.219 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/1.13, allocations: 0.6994 MB / 1.41 GB, free: 8.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/1.133, allocations: 0.4913 MB / 1.411 GB, free: 8.027 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/1.136, allocations: 1.78 MB / 1.412 GB, free: 6.199 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/1.14, allocations: 422.1 kB / 1.413 GB, free: 5.785 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/1.141, allocations: 103.9 kB / 1.413 GB, free: 5.684 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004854/1.145, allocations: 1.441 MB / 1.414 GB, free: 4.238 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004173/1.15, allocations: 1.505 MB / 1.416 GB, free: 2.504 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006848/1.156, allocations: 2.133 MB / 1.418 GB, free: 208 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.058e-05/1.157, allocations: 4 kB / 1.418 GB, free: 204 kB / 1.139 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.01177/1.168, allocations: 2.993 MB / 1.421 GB, free: 13.18 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/1.168, allocations: 37.69 kB / 1.421 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.168, allocations: 12 kB / 1.421 GB, free: 13.13 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/1.171, allocations: 0.7137 MB / 1.421 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/1.174, allocations: 495.1 kB / 1.422 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/1.176, allocations: 1.782 MB / 1.424 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004518/1.181, allocations: 363.4 kB / 1.424 GB, free: 9.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003399/1.181, allocations: 99.91 kB / 1.424 GB, free: 9.652 MB / 1.154 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.0006696/1.182, allocations: 299.8 kB / 1.424 GB, free: 9.352 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009807/1.183, allocations: 286.2 kB / 1.425 GB, free: 9.07 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.194, allocations: 2.493 MB / 1.427 GB, free: 6.559 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0104/1.205, allocations: 2.122 MB / 1.429 GB, free: 4.383 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.205, allocations: 0 / 1.429 GB, free: 4.383 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.206, allocations: 0.5847 MB / 1.43 GB, free: 3.777 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008165/1.207, allocations: 32 kB / 1.43 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003401/1.211, allocations: 195.7 kB / 1.43 GB, free: 3.555 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/1.211, allocations: 92.86 kB / 1.43 GB, free: 3.461 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01081/1.222, allocations: 2.963 MB / 1.433 GB, free: 496 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01044/1.232, allocations: 3.6 MB / 1.436 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003006/1.235, allocations: 0.8352 MB / 1.437 GB, free: 12.02 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003492/1.239, allocations: 1.758 MB / 1.439 GB, free: 10.26 MB / 1.17 GB Notification: Performance of Backend: time 5.61e-07/1.239, allocations: 4 kB / 1.439 GB, free: 10.26 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01478/1.254, allocations: 3.894 MB / 1.443 GB, free: 6.352 MB / 1.17 GB Notification: Performance of SimCode: time 0.01401/1.268, allocations: 6.285 MB / 1.449 GB, free: 28 kB / 1.17 GB Notification: Performance of Templates: time 0.133/1.401, allocations: 86.99 MB / 1.534 GB, free: 9.613 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)