Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001093/0.001093, allocations: 115.2 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.001109/0.001109, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00224/0.00224, allocations: 292.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9487/0.9487, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3813, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1251/0.5065, allocations: 130.9 MB / 0.8949 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03406/0.5406, allocations: 24.99 MB / 0.9193 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004356/0.545, allocations: 135.2 kB / 0.9194 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004575/0.5496, allocations: 1.794 MB / 0.9212 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.5623, allocations: 4.716 MB / 0.9258 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008761/0.5711, allocations: 3.539 MB / 0.9292 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01193/0.583, allocations: 9.07 MB / 0.9381 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005243/0.5883, allocations: 3.207 MB / 0.9412 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007276/0.5956, allocations: 3.546 MB / 0.9447 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004025/0.5996, allocations: 2.478 MB / 0.9471 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.6007, allocations: 392 kB / 0.9475 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00694/0.6076, allocations: 2.894 MB / 0.9503 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.609, allocations: 0.8877 MB / 0.9512 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003396/0.6124, allocations: 1.999 MB / 0.9531 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3985/1.011, allocations: 6.38 MB / 0.9593 GB, free: 60.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.011, allocations: 3.656 kB / 0.9594 GB, free: 60.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/1.011, allocations: 0 / 0.9594 GB, free: 60.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001791/1.011, allocations: 0 / 0.9594 GB, free: 60.59 MB / 0.7169 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.01312/1.024, allocations: 4.072 MB / 0.9633 GB, free: 58.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.024, allocations: 10.69 kB / 0.9633 GB, free: 58.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/1.036, allocations: 1.376 MB / 0.9647 GB, free: 58.8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00634/1.043, allocations: 3.001 MB / 0.9676 GB, free: 58.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/1.043, allocations: 255.1 kB / 0.9679 GB, free: 58.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008443/1.044, allocations: 241.3 kB / 0.9681 GB, free: 58.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008593/1.053, allocations: 3.189 MB / 0.9712 GB, free: 57.61 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.849e-05/1.053, allocations: 2.875 kB / 0.9712 GB, free: 57.61 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003812/1.053, allocations: 98.69 kB / 0.9713 GB, free: 57.61 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/1.053, allocations: 76.48 kB / 0.9714 GB, free: 57.61 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008687/1.062, allocations: 2.833 MB / 0.9741 GB, free: 57.55 MB / 0.7169 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.01649/1.078, allocations: 13.4 MB / 0.9872 GB, free: 51.62 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/1.082, allocations: 1.497 MB / 0.9887 GB, free: 51.58 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003052/1.085, allocations: 0.9353 MB / 0.9896 GB, free: 51.56 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/1.087, allocations: 1.779 MB / 0.9913 GB, free: 49.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003599/1.09, allocations: 1.213 MB / 0.9925 GB, free: 49.38 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 3.336e-06/1.09, allocations: 0 / 0.9925 GB, free: 49.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.03969/1.13, allocations: 5.832 MB / 0.9982 GB, free: 48.81 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.13, allocations: 0.5782 MB / 0.9988 GB, free: 48.12 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003469/1.134, allocations: 2.535 MB / 1.001 GB, free: 47.87 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003241/1.134, allocations: 61.67 kB / 1.001 GB, free: 47.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008697/1.135, allocations: 1.339 MB / 1.003 GB, free: 47.37 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/1.135, allocations: 451.8 kB / 1.003 GB, free: 47.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006463/1.136, allocations: 473.1 kB / 1.004 GB, free: 47.05 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/1.136, allocations: 305.1 kB / 1.004 GB, free: 46.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/1.14, allocations: 1.008 MB / 1.005 GB, free: 46.72 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/1.144, allocations: 1.589 MB / 1.006 GB, free: 46.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006648/1.15, allocations: 2.273 MB / 1.009 GB, free: 45.54 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/1.15, allocations: 6.688 kB / 1.009 GB, free: 45.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02246/1.173, allocations: 4.114 MB / 1.013 GB, free: 45.19 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/1.173, allocations: 44.19 kB / 1.013 GB, free: 45.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.173, allocations: 12.38 kB / 1.013 GB, free: 45.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00321/1.176, allocations: 0.947 MB / 1.014 GB, free: 45.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/1.179, allocations: 496.8 kB / 1.014 GB, free: 45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/1.182, allocations: 1.988 MB / 1.016 GB, free: 43.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00487/1.187, allocations: 433 kB / 1.016 GB, free: 43.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/1.187, allocations: 108.5 kB / 1.016 GB, free: 43.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004688/1.192, allocations: 1.504 MB / 1.018 GB, free: 43.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003948/1.196, allocations: 1.57 MB / 1.019 GB, free: 42.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0067/1.202, allocations: 2.249 MB / 1.022 GB, free: 41.63 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.769e-06/1.202, allocations: 3.875 kB / 1.022 GB, free: 41.63 MB / 0.7169 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02245/1.225, allocations: 4.078 MB / 1.026 GB, free: 39.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/1.225, allocations: 41.33 kB / 1.026 GB, free: 39.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/1.225, allocations: 12 kB / 1.026 GB, free: 39.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003137/1.228, allocations: 0.9548 MB / 1.027 GB, free: 38.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/1.231, allocations: 493.2 kB / 1.027 GB, free: 38.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/1.234, allocations: 1.987 MB / 1.029 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004933/1.239, allocations: 372.5 kB / 1.029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/1.239, allocations: 107.5 kB / 1.03 GB, free: 36.25 MB / 0.7169 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.0007239/1.24, allocations: 300.5 kB / 1.03 GB, free: 36.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000931/1.241, allocations: 276.7 kB / 1.03 GB, free: 35.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/1.252, allocations: 2.509 MB / 1.033 GB, free: 33.92 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00959/1.261, allocations: 2.129 MB / 1.035 GB, free: 32.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.261, allocations: 7.984 kB / 1.035 GB, free: 32.26 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/1.263, allocations: 0.5844 MB / 1.035 GB, free: 31.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009182/1.264, allocations: 36 kB / 1.035 GB, free: 31.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003583/1.268, allocations: 216.9 kB / 1.035 GB, free: 31.55 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/1.268, allocations: 92.19 kB / 1.036 GB, free: 31.46 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01234/1.28, allocations: 3.295 MB / 1.039 GB, free: 28.21 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01003/1.29, allocations: 3.763 MB / 1.042 GB, free: 24.44 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002957/1.293, allocations: 0.894 MB / 1.043 GB, free: 23.55 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002962/1.296, allocations: 1.762 MB / 1.045 GB, free: 21.79 MB / 0.7169 GB Notification: Performance of Backend: time 3.51e-07/1.296, allocations: 0 / 1.045 GB, free: 21.79 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01374/1.31, allocations: 4.003 MB / 1.049 GB, free: 17.94 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01063/1.321, allocations: 6.268 MB / 1.055 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.1309/1.452, allocations: 89.39 MB / 1.142 GB, free: 3.684 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)