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.007638/0.007638, allocations: 170.5 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7522/0.7522, allocations: 135.2 MB / 151 MB, free: 13.82 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.531/1.531, allocations: 223.1 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 98.91 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4698, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8992/1.369, allocations: 398.7 MB / 1.039 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/1.369, allocations: 93.64 kB / 1.039 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.837/5.207, allocations: 1.065 GB / 2.104 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/5.207, allocations: 4 kB / 2.104 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003063/5.207, allocations: 83.91 kB / 2.104 GB, free: 13.94 MB / 0.7292 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.0102/5.217, allocations: 3.7 MB / 2.108 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/5.217, allocations: 8.031 kB / 2.108 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009053/5.218, allocations: 332.8 kB / 2.108 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/5.228, allocations: 1.315 MB / 2.11 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008316/5.237, allocations: 3.348 MB / 2.113 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/5.237, allocations: 259.9 kB / 2.113 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006222/5.238, allocations: 235.9 kB / 2.113 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008113/5.246, allocations: 3.198 MB / 2.116 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/5.246, allocations: 7.938 kB / 2.116 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/5.246, allocations: 96 kB / 2.117 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.746e-05/5.246, allocations: 71.98 kB / 2.117 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5243/5.771, allocations: 2.878 MB / 2.119 GB, free: 70.7 MB / 0.7292 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.02572/5.797, allocations: 13.33 MB / 2.132 GB, free: 65.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/5.801, allocations: 1.6 MB / 2.134 GB, free: 65.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/5.802, allocations: 1.78 MB / 2.136 GB, free: 63.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003834/5.806, allocations: 1.279 MB / 2.137 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=122): time 4.238e-06/5.806, allocations: 0 / 2.137 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.03971/5.846, allocations: 6.128 MB / 2.143 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002369/5.846, allocations: 0.9361 MB / 2.144 GB, free: 61.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004551/5.851, allocations: 2.339 MB / 2.146 GB, free: 61.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004982/5.851, allocations: 62.3 kB / 2.146 GB, free: 61.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/5.853, allocations: 1.359 MB / 2.148 GB, free: 60.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005597/5.853, allocations: 424.8 kB / 2.148 GB, free: 60.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/5.853, allocations: 33.19 kB / 2.148 GB, free: 60.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001079/5.853, allocations: 375 kB / 2.148 GB, free: 60.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004257/5.858, allocations: 0.9998 MB / 2.149 GB, free: 60.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004184/5.862, allocations: 1.612 MB / 2.151 GB, free: 59.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/5.866, allocations: 1.133 MB / 2.152 GB, free: 59.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/5.866, allocations: 1.875 kB / 2.152 GB, free: 59.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01802/5.884, allocations: 3.652 MB / 2.156 GB, free: 59.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001206/5.885, allocations: 5.041 MB / 2.16 GB, free: 53.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/5.885, allocations: 11.56 kB / 2.16 GB, free: 53.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/5.888, allocations: 0.9553 MB / 2.161 GB, free: 53.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/5.892, allocations: 499.1 kB / 2.162 GB, free: 53.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/5.895, allocations: 1.996 MB / 2.164 GB, free: 52.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006206/5.901, allocations: 0.52 MB / 2.164 GB, free: 52.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004294/5.901, allocations: 108.1 kB / 2.164 GB, free: 52.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/5.901, allocations: 10.38 kB / 2.164 GB, free: 52.83 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01643/5.918, allocations: 3.326 MB / 2.168 GB, free: 52.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.1e-05/5.918, allocations: 10.72 kB / 2.168 GB, free: 52.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/5.921, allocations: 0.9563 MB / 2.169 GB, free: 52.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/5.924, allocations: 483.7 kB / 2.169 GB, free: 52.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/5.927, allocations: 1.983 MB / 2.171 GB, free: 51.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005486/5.932, allocations: 453.6 kB / 2.171 GB, free: 51.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004525/5.933, allocations: 108.5 kB / 2.172 GB, free: 51.62 MB / 0.7292 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 () * Number of clocked 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.002092/5.935, allocations: 0.7036 MB / 2.172 GB, free: 51.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008811/5.936, allocations: 277.8 kB / 2.173 GB, free: 51.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/5.952, allocations: 2.934 MB / 2.175 GB, free: 51.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-05/5.952, allocations: 17.72 kB / 2.175 GB, free: 51.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/5.952, allocations: 9.188 kB / 2.175 GB, free: 51.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01577/5.968, allocations: 2.719 MB / 2.178 GB, free: 50.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/5.991, allocations: 7.656 MB / 2.186 GB, free: 48.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/5.991, allocations: 9.156 kB / 2.186 GB, free: 48.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/5.993, allocations: 295.3 kB / 2.186 GB, free: 48.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/5.996, allocations: 0.9422 MB / 2.187 GB, free: 48.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/5.996, allocations: 53 kB / 2.187 GB, free: 48.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/5.999, allocations: 1.974 MB / 2.189 GB, free: 47.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/5.999, allocations: 10.25 kB / 2.189 GB, free: 47.83 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/6.011, allocations: 4.32 MB / 2.193 GB, free: 46.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/6.013, allocations: 0.6742 MB / 2.194 GB, free: 46.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/6.014, allocations: 35 kB / 2.194 GB, free: 46.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/6.017, allocations: 297.9 kB / 2.194 GB, free: 46.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/6.017, allocations: 108.4 kB / 2.194 GB, free: 46.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/6.018, allocations: 79.47 kB / 2.194 GB, free: 46.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003218/6.021, allocations: 1.831 MB / 2.196 GB, free: 45.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/6.021, allocations: 0 / 2.196 GB, free: 45.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006968/6.028, allocations: 1.852 MB / 2.198 GB, free: 45.88 MB / 0.7292 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) * Number of clocked states: 0 () * 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.01533/6.043, allocations: 7.869 MB / 2.205 GB, free: 42.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01227/6.055, allocations: 3.655 MB / 2.209 GB, free: 42.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.947e-05/6.056, allocations: 3.656 kB / 2.209 GB, free: 42.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003608/6.059, allocations: 1.092 MB / 2.21 GB, free: 42.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00666/6.066, allocations: 1.391 MB / 2.211 GB, free: 41.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05076/6.117, allocations: 27.06 MB / 2.238 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/6.118, allocations: 1.767 MB / 2.24 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003961/6.122, allocations: 0.6932 MB / 2.24 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/6.124, allocations: 1.157 MB / 2.241 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/6.124, allocations: 0 / 2.241 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1502/6.274, allocations: 101.7 MB / 2.341 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/6.274, allocations: 253.1 kB / 2.341 GB, free: 30.81 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.618/11.89, allocations: 0 / 2.341 GB, free: 30.81 MB / 0.7448 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)