Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111.2 kB / 16.42 MB, free: 6.465 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.001027/0.001027, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.23/2.23, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 0.9516 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6876, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1354/0.8231, allocations: 130.9 MB / 1.216 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03715/0.8602, allocations: 25.02 MB / 1.241 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005458/0.8657, allocations: 140.1 kB / 1.241 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005515/0.8713, allocations: 1.786 MB / 1.243 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01669/0.888, allocations: 4.727 MB / 1.247 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009543/0.8976, allocations: 3.531 MB / 1.251 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01361/0.9112, allocations: 9.067 MB / 1.26 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005212/0.9165, allocations: 3.215 MB / 1.263 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007476/0.924, allocations: 3.54 MB / 1.266 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/0.9282, allocations: 2.483 MB / 1.269 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.9292, allocations: 392 kB / 1.269 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007119/0.9363, allocations: 2.894 MB / 1.272 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.9376, allocations: 0.8877 MB / 1.273 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.941, allocations: 1.995 MB / 1.275 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.9517, allocations: 6.371 MB / 1.281 GB, free: 8.809 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.9517, allocations: 3.938 kB / 1.281 GB, free: 8.805 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9517, allocations: 0 / 1.281 GB, free: 8.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001706/0.9519, allocations: 8 kB / 1.281 GB, free: 8.797 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008766/0.9607, allocations: 4.084 MB / 1.285 GB, free: 4.609 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.9607, allocations: 12.02 kB / 1.285 GB, free: 4.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.972, allocations: 1.369 MB / 1.286 GB, free: 3.223 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006401/0.9785, allocations: 2.984 MB / 1.289 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.9788, allocations: 259.9 kB / 1.289 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006899/0.9795, allocations: 236 kB / 1.29 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009018/0.9885, allocations: 3.193 MB / 1.293 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.196e-05/0.9886, allocations: 7.938 kB / 1.293 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/0.989, allocations: 108 kB / 1.293 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-05/0.9891, allocations: 60 kB / 1.293 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009553/0.9986, allocations: 2.842 MB / 1.296 GB, free: 9.258 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.01979/1.018, allocations: 13.4 MB / 1.309 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004476/1.023, allocations: 1.493 MB / 1.31 GB, free: 9.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003301/1.026, allocations: 0.9337 MB / 1.311 GB, free: 8.797 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/1.028, allocations: 1.785 MB / 1.313 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003836/1.032, allocations: 1.205 MB / 1.314 GB, free: 5.355 MB / 1.045 GB Notification: Performance of pre-optimization done (n=130): time 5.3e-06/1.032, allocations: 4 kB / 1.314 GB, free: 5.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=130): time 0.04057/1.072, allocations: 5.829 MB / 1.32 GB, free: 15.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/1.073, allocations: 0.5766 MB / 1.32 GB, free: 14.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00456/1.077, allocations: 2.544 MB / 1.323 GB, free: 12.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/1.078, allocations: 61.7 kB / 1.323 GB, free: 12.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.079, allocations: 1.34 MB / 1.324 GB, free: 10.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005909/1.08, allocations: 453.5 kB / 1.325 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000868/1.08, allocations: 466.9 kB / 1.325 GB, free: 9.855 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/1.081, allocations: 305.1 kB / 1.325 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/1.085, allocations: 1.016 MB / 1.326 GB, free: 8.535 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004594/1.089, allocations: 1.591 MB / 1.328 GB, free: 6.707 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007596/1.097, allocations: 2.268 MB / 1.33 GB, free: 4.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.097, allocations: 4 kB / 1.33 GB, free: 4.266 MB / 1.061 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.024/1.121, allocations: 4.108 MB / 1.334 GB, free: 132 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-05/1.121, allocations: 41.8 kB / 1.334 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/1.121, allocations: 16 kB / 1.334 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003611/1.125, allocations: 0.9541 MB / 1.335 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/1.128, allocations: 495.1 kB / 1.336 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/1.131, allocations: 1.983 MB / 1.338 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004686/1.136, allocations: 437.4 kB / 1.338 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003762/1.136, allocations: 107.9 kB / 1.338 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005099/1.141, allocations: 1.503 MB / 1.34 GB, free: 10.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00451/1.146, allocations: 1.571 MB / 1.341 GB, free: 8.746 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007502/1.153, allocations: 2.245 MB / 1.343 GB, free: 6.336 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.809e-06/1.153, allocations: 0 / 1.343 GB, free: 6.336 MB / 1.076 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02359/1.177, allocations: 4.085 MB / 1.347 GB, free: 2.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/1.177, allocations: 41.73 kB / 1.347 GB, free: 2.184 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/1.177, allocations: 12 kB / 1.347 GB, free: 2.172 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/1.181, allocations: 0.9499 MB / 1.348 GB, free: 1.223 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/1.184, allocations: 487.2 kB / 1.349 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/1.187, allocations: 1.99 MB / 1.351 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004801/1.192, allocations: 378.9 kB / 1.351 GB, free: 14.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003534/1.192, allocations: 103.9 kB / 1.351 GB, free: 14.23 MB / 1.092 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,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006574/1.193, allocations: 315.6 kB / 1.351 GB, free: 13.92 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008724/1.194, allocations: 276.7 kB / 1.352 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.206, allocations: 2.509 MB / 1.354 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01021/1.216, allocations: 2.13 MB / 1.356 GB, free: 8.93 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.216, allocations: 0 / 1.356 GB, free: 8.93 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/1.217, allocations: 0.5795 MB / 1.357 GB, free: 8.328 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000683/1.218, allocations: 35.94 kB / 1.357 GB, free: 8.293 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003369/1.221, allocations: 211.7 kB / 1.357 GB, free: 8.086 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/1.222, allocations: 100.8 kB / 1.357 GB, free: 7.988 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01355/1.235, allocations: 3.298 MB / 1.36 GB, free: 4.672 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01149/1.247, allocations: 3.765 MB / 1.364 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003307/1.25, allocations: 0.89 MB / 1.365 GB, free: 15.99 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.004214/1.254, allocations: 1.758 MB / 1.367 GB, free: 14.23 MB / 1.107 GB Notification: Performance of Backend: time 7.52e-07/1.254, allocations: 4 kB / 1.367 GB, free: 14.23 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01566/1.27, allocations: 4.009 MB / 1.371 GB, free: 10.21 MB / 1.107 GB Notification: Performance of SimCode: time 0.01244/1.283, allocations: 6.254 MB / 1.377 GB, free: 3.938 MB / 1.107 GB Notification: Performance of Templates: time 0.1333/1.416, allocations: 89.33 MB / 1.464 GB, free: 11.32 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)