Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_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.01195/0.01195, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.168/1.168, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.325/2.325, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001333/0.001332, allocations: 90.52 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006933/0.0006932, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7568, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.393/2.15, allocations: 398.7 MB / 1.039 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004138/2.151, allocations: 99.25 kB / 1.039 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.294/8.445, allocations: 1.065 GB / 2.104 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.488e-06/8.445, allocations: 0 / 2.104 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0008927/8.446, allocations: 83.92 kB / 2.104 GB, free: 14 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.01805/8.464, allocations: 3.7 MB / 2.108 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/8.464, allocations: 8.031 kB / 2.108 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001958/8.466, allocations: 336.8 kB / 2.108 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/8.478, allocations: 1.311 MB / 2.11 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/8.491, allocations: 3.348 MB / 2.113 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006012/8.492, allocations: 255.9 kB / 2.113 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/8.493, allocations: 235.9 kB / 2.113 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/8.509, allocations: 3.198 MB / 2.116 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/8.509, allocations: 7.938 kB / 2.116 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/8.511, allocations: 100 kB / 2.117 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/8.511, allocations: 71.98 kB / 2.117 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6145/9.125, allocations: 2.876 MB / 2.119 GB, free: 70.04 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.03249/9.158, allocations: 13.33 MB / 2.132 GB, free: 64.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004907/9.163, allocations: 1.597 MB / 2.134 GB, free: 64.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/9.165, allocations: 1.779 MB / 2.136 GB, free: 62.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0043/9.169, allocations: 1.281 MB / 2.137 GB, free: 62.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=122): time 4.539e-06/9.169, allocations: 2.531 kB / 2.137 GB, free: 62.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.05956/9.229, allocations: 6.119 MB / 2.143 GB, free: 61.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003664/9.229, allocations: 0.9417 MB / 2.144 GB, free: 60.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007519/9.237, allocations: 2.341 MB / 2.146 GB, free: 60.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007627/9.237, allocations: 59.77 kB / 2.146 GB, free: 60.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00216/9.24, allocations: 1.358 MB / 2.148 GB, free: 60.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/9.241, allocations: 431.1 kB / 2.148 GB, free: 59.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/9.241, allocations: 35.53 kB / 2.148 GB, free: 59.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001669/9.241, allocations: 369.8 kB / 2.148 GB, free: 59.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007381/9.248, allocations: 0.9992 MB / 2.149 GB, free: 59.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007434/9.256, allocations: 1.616 MB / 2.151 GB, free: 58.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005815/9.262, allocations: 1.128 MB / 2.152 GB, free: 58.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.869e-05/9.262, allocations: 3.188 kB / 2.152 GB, free: 58.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.02631/9.288, allocations: 3.65 MB / 2.156 GB, free: 58.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002199/9.291, allocations: 5.038 MB / 2.16 GB, free: 53.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.892e-05/9.291, allocations: 10.72 kB / 2.16 GB, free: 53.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004873/9.296, allocations: 0.9569 MB / 2.161 GB, free: 53.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/9.3, allocations: 495.5 kB / 2.162 GB, free: 53.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/9.304, allocations: 1.992 MB / 2.164 GB, free: 52.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008832/9.313, allocations: 0.5271 MB / 2.164 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009871/9.314, allocations: 107.8 kB / 2.164 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/9.314, allocations: 6.688 kB / 2.164 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02659/9.341, allocations: 3.32 MB / 2.168 GB, free: 52.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.9e-05/9.341, allocations: 13.44 kB / 2.168 GB, free: 52.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/9.345, allocations: 0.9601 MB / 2.169 GB, free: 52.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/9.349, allocations: 484.5 kB / 2.169 GB, free: 52.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/9.353, allocations: 1.991 MB / 2.171 GB, free: 51.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/9.359, allocations: 458.1 kB / 2.171 GB, free: 50.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006791/9.36, allocations: 103.4 kB / 2.172 GB, free: 50.97 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.002916/9.363, allocations: 0.7012 MB / 2.172 GB, free: 50.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/9.364, allocations: 287.1 kB / 2.173 GB, free: 50.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/9.383, allocations: 2.93 MB / 2.175 GB, free: 50.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.991e-05/9.383, allocations: 16.34 kB / 2.175 GB, free: 50.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/9.383, allocations: 4.5 kB / 2.175 GB, free: 50.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0171/9.4, allocations: 2.722 MB / 2.178 GB, free: 50.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02899/9.429, allocations: 7.655 MB / 2.186 GB, free: 48.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.915e-05/9.429, allocations: 3.75 kB / 2.186 GB, free: 48.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002682/9.432, allocations: 297.3 kB / 2.186 GB, free: 48.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004886/9.437, allocations: 0.9382 MB / 2.187 GB, free: 48.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006345/9.437, allocations: 55.61 kB / 2.187 GB, free: 48.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004937/9.442, allocations: 1.98 MB / 2.189 GB, free: 47.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.859e-05/9.443, allocations: 6.969 kB / 2.189 GB, free: 47.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02042/9.463, allocations: 4.329 MB / 2.193 GB, free: 45.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004861/9.468, allocations: 0.6757 MB / 2.194 GB, free: 45.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002903/9.471, allocations: 32.44 kB / 2.194 GB, free: 45.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007429/9.478, allocations: 299.7 kB / 2.194 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/9.479, allocations: 110.8 kB / 2.194 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006629/9.48, allocations: 73.42 kB / 2.194 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0076/9.487, allocations: 1.832 MB / 2.196 GB, free: 45.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.413e-06/9.487, allocations: 2.344 kB / 2.196 GB, free: 45.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01424/9.502, allocations: 1.848 MB / 2.198 GB, free: 45.23 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.02705/9.529, allocations: 7.864 MB / 2.205 GB, free: 41.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02073/9.55, allocations: 3.66 MB / 2.209 GB, free: 41.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.966e-05/9.55, allocations: 3.344 kB / 2.209 GB, free: 41.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006137/9.556, allocations: 1.097 MB / 2.21 GB, free: 41.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01214/9.568, allocations: 1.388 MB / 2.211 GB, free: 41.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1064/9.675, allocations: 27.05 MB / 2.238 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003108/9.678, allocations: 1.765 MB / 2.24 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.008118/9.686, allocations: 0.6921 MB / 2.24 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004367/9.69, allocations: 1.154 MB / 2.241 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of SimCode: time 2.024e-06/9.69, allocations: 0.75 kB / 2.241 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2666/9.957, allocations: 101.7 MB / 2.341 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/9.957, allocations: 257.6 kB / 2.341 GB, free: 30.08 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.279/19.24, allocations: 0 / 2.341 GB, free: 30.08 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)