Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7451/0.7451, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008605/0.0008607, allocations: 79.89 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.885e-05, allocations: 3.031 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1708, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/1.526, allocations: 398.7 MB / 1.03 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/1.527, allocations: 84.94 kB / 1.03 GB, free: 223 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.325/5.851, allocations: 1.062 GB / 2.092 GB, free: 58.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/5.852, allocations: 1.969 kB / 2.092 GB, free: 58.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004856/5.852, allocations: 83.33 kB / 2.092 GB, free: 58.96 MB / 0.7136 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.00959/5.862, allocations: 3.192 MB / 2.095 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/5.862, allocations: 6.656 kB / 2.095 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001252/5.863, allocations: 327.8 kB / 2.095 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/5.874, allocations: 1.312 MB / 2.097 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008825/5.882, allocations: 3.324 MB / 2.1 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/5.883, allocations: 251.1 kB / 2.1 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/5.884, allocations: 233.9 kB / 2.1 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007807/5.892, allocations: 2.83 MB / 2.103 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/5.892, allocations: 10.7 kB / 2.103 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006821/5.892, allocations: 107.4 kB / 2.103 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.242e-05/5.893, allocations: 62.47 kB / 2.103 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004886/5.897, allocations: 2.169 MB / 2.105 GB, free: 56.27 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.02431/5.922, allocations: 13.33 MB / 2.118 GB, free: 50.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/5.924, allocations: 1.242 MB / 2.12 GB, free: 50.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/5.925, allocations: 0.6706 MB / 2.12 GB, free: 50.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/5.927, allocations: 1.783 MB / 2.122 GB, free: 48.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/5.928, allocations: 0.9906 MB / 2.123 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 6.022e-06/5.928, allocations: 0 / 2.123 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.005416/5.934, allocations: 1.706 MB / 2.125 GB, free: 47.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003255/5.934, allocations: 0.9347 MB / 2.126 GB, free: 46.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005753/5.94, allocations: 2.252 MB / 2.128 GB, free: 46.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005236/5.94, allocations: 65.69 kB / 2.128 GB, free: 46.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/5.942, allocations: 1.363 MB / 2.129 GB, free: 46.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007029/5.943, allocations: 431 kB / 2.13 GB, free: 45.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/5.943, allocations: 33.44 kB / 2.13 GB, free: 45.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000156/5.943, allocations: 372.5 kB / 2.13 GB, free: 45.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/5.945, allocations: 0.6522 MB / 2.131 GB, free: 45.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/5.947, allocations: 1.262 MB / 2.132 GB, free: 44.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/5.948, allocations: 0.789 MB / 2.133 GB, free: 44.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/5.948, allocations: 6.344 kB / 2.133 GB, free: 44.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01289/5.961, allocations: 2.888 MB / 2.136 GB, free: 44.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001367/5.963, allocations: 5.035 MB / 2.14 GB, free: 39.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/5.963, allocations: 10.56 kB / 2.14 GB, free: 39.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/5.965, allocations: 0.8164 MB / 2.141 GB, free: 39.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/5.968, allocations: 498.4 kB / 2.142 GB, free: 39.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/5.97, allocations: 1.804 MB / 2.143 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/5.976, allocations: 0.5275 MB / 2.144 GB, free: 38.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004992/5.977, allocations: 108.9 kB / 2.144 GB, free: 38.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/5.977, allocations: 2.938 kB / 2.144 GB, free: 38.03 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01177/5.988, allocations: 2.619 MB / 2.147 GB, free: 37.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.569e-05/5.988, allocations: 20.25 kB / 2.147 GB, free: 37.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/5.991, allocations: 0.8239 MB / 2.147 GB, free: 37.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/5.994, allocations: 484.3 kB / 2.148 GB, free: 37.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/5.996, allocations: 1.81 MB / 2.15 GB, free: 36.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/6.001, allocations: 451.3 kB / 2.15 GB, free: 36.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/6.001, allocations: 107.1 kB / 2.15 GB, free: 36.77 MB / 0.7136 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008635/6.002, allocations: 220.6 kB / 2.15 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/6.003, allocations: 276.1 kB / 2.151 GB, free: 36.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/6.015, allocations: 2.307 MB / 2.153 GB, free: 36.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.882e-05/6.015, allocations: 18.19 kB / 2.153 GB, free: 36.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/6.015, allocations: 5.625 kB / 2.153 GB, free: 36.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01083/6.026, allocations: 2.069 MB / 2.155 GB, free: 36.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/6.042, allocations: 7.025 MB / 2.162 GB, free: 34.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/6.042, allocations: 8.125 kB / 2.162 GB, free: 34.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/6.044, allocations: 292 kB / 2.162 GB, free: 34.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/6.046, allocations: 0.8051 MB / 2.163 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/6.046, allocations: 51.56 kB / 2.163 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/6.048, allocations: 1.8 MB / 2.165 GB, free: 33.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/6.048, allocations: 12.03 kB / 2.165 GB, free: 33.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/6.052, allocations: 3.398 MB / 2.168 GB, free: 31.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/6.055, allocations: 0.6684 MB / 2.169 GB, free: 31.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/6.056, allocations: 40.12 kB / 2.169 GB, free: 31.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004036/6.06, allocations: 292.2 kB / 2.169 GB, free: 31.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/6.06, allocations: 115.9 kB / 2.169 GB, free: 31.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/6.06, allocations: 72.64 kB / 2.169 GB, free: 31.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003267/6.063, allocations: 1.747 MB / 2.171 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/6.064, allocations: 3.625 kB / 2.171 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005781/6.069, allocations: 1.862 MB / 2.173 GB, free: 30.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.006805/6.076, allocations: 6.941 MB / 2.18 GB, free: 27.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004414/6.081, allocations: 2.791 MB / 2.182 GB, free: 26.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/6.081, allocations: 4.406 kB / 2.182 GB, free: 26.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/6.082, allocations: 0.8067 MB / 2.183 GB, free: 26.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006425/6.088, allocations: 1.396 MB / 2.184 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/6.1, allocations: 4.479 MB / 2.189 GB, free: 25.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/6.102, allocations: 1.777 MB / 2.191 GB, free: 24.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00457/6.106, allocations: 0.8563 MB / 2.191 GB, free: 24.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/6.108, allocations: 1.104 MB / 2.192 GB, free: 24.48 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/6.108, allocations: 1.344 kB / 2.192 GB, free: 24.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1587/6.266, allocations: 106 MB / 2.296 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/6.266, allocations: 228.1 kB / 2.296 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.658/11.93, allocations: 0 / 2.296 GB, free: 8.664 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)