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.001817/0.001817, allocations: 175 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.8099/0.8099, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.606/1.606, 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.0009902/0.0009902, allocations: 94.75 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.536e-05, allocations: 3.125 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1975, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.364/1.561, allocations: 398.7 MB / 1.03 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.562, allocations: 85.3 kB / 1.03 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.068/5.63, allocations: 1.062 GB / 2.092 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.555e-06/5.63, allocations: 0 / 2.092 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005641/5.63, allocations: 83.25 kB / 2.092 GB, free: 56.95 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.01154/5.642, allocations: 3.184 MB / 2.095 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/5.642, allocations: 9.562 kB / 2.095 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/5.643, allocations: 332.2 kB / 2.095 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/5.654, allocations: 1.317 MB / 2.097 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/5.664, allocations: 3.324 MB / 2.1 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/5.664, allocations: 261.4 kB / 2.1 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009653/5.665, allocations: 230.6 kB / 2.1 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00736/5.673, allocations: 2.826 MB / 2.103 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.456e-05/5.673, allocations: 8.531 kB / 2.103 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005752/5.673, allocations: 103.9 kB / 2.103 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.783e-05/5.673, allocations: 69.47 kB / 2.103 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004056/5.677, allocations: 2.166 MB / 2.105 GB, free: 54.25 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.01862/5.696, allocations: 13.33 MB / 2.119 GB, free: 48.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/5.698, allocations: 1.253 MB / 2.12 GB, free: 48.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009024/5.699, allocations: 0.6569 MB / 2.12 GB, free: 48.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/5.7, allocations: 1.779 MB / 2.122 GB, free: 46.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/5.701, allocations: 0.9914 MB / 2.123 GB, free: 46.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 3.276e-06/5.701, allocations: 2.312 kB / 2.123 GB, free: 46.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.004611/5.706, allocations: 1.702 MB / 2.125 GB, free: 45.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000211/5.706, allocations: 0.9385 MB / 2.126 GB, free: 44.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/5.71, allocations: 2.247 MB / 2.128 GB, free: 44.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003099/5.71, allocations: 65.42 kB / 2.128 GB, free: 44.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/5.711, allocations: 1.366 MB / 2.129 GB, free: 43.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/5.711, allocations: 427.8 kB / 2.13 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/5.712, allocations: 35.41 kB / 2.13 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001038/5.712, allocations: 365.1 kB / 2.13 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/5.713, allocations: 0.6552 MB / 2.131 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/5.714, allocations: 1.272 MB / 2.132 GB, free: 42.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/5.715, allocations: 0.7883 MB / 2.133 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/5.715, allocations: 3.938 kB / 2.133 GB, free: 42.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01208/5.728, allocations: 2.892 MB / 2.136 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009472/5.729, allocations: 5.033 MB / 2.14 GB, free: 37.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/5.729, allocations: 12.75 kB / 2.14 GB, free: 37.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/5.731, allocations: 0.8161 MB / 2.141 GB, free: 37.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/5.734, allocations: 500 kB / 2.142 GB, free: 37.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/5.735, allocations: 1.802 MB / 2.143 GB, free: 36.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005512/5.741, allocations: 0.5303 MB / 2.144 GB, free: 36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/5.741, allocations: 107.5 kB / 2.144 GB, free: 36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/5.741, allocations: 3.969 kB / 2.144 GB, free: 36 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01094/5.752, allocations: 2.621 MB / 2.147 GB, free: 35.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/5.752, allocations: 12.22 kB / 2.147 GB, free: 35.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/5.755, allocations: 0.823 MB / 2.147 GB, free: 35.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/5.757, allocations: 487.1 kB / 2.148 GB, free: 35.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/5.759, allocations: 1.808 MB / 2.15 GB, free: 34.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/5.763, allocations: 446.9 kB / 2.15 GB, free: 34.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/5.764, allocations: 111.6 kB / 2.15 GB, free: 34.75 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.00062/5.764, allocations: 223.2 kB / 2.15 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/5.765, allocations: 275.3 kB / 2.151 GB, free: 34.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/5.776, allocations: 2.303 MB / 2.153 GB, free: 34.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-05/5.776, allocations: 16.75 kB / 2.153 GB, free: 34.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/5.776, allocations: 6.562 kB / 2.153 GB, free: 34.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01021/5.786, allocations: 2.076 MB / 2.155 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/5.802, allocations: 7.019 MB / 2.162 GB, free: 32.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/5.802, allocations: 9 kB / 2.162 GB, free: 32.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/5.804, allocations: 291.6 kB / 2.162 GB, free: 32.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002156/5.806, allocations: 0.8032 MB / 2.163 GB, free: 32.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/5.806, allocations: 52.77 kB / 2.163 GB, free: 32.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/5.808, allocations: 1.799 MB / 2.165 GB, free: 31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/5.808, allocations: 12.06 kB / 2.165 GB, free: 31 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/5.812, allocations: 3.405 MB / 2.168 GB, free: 29.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/5.814, allocations: 0.6713 MB / 2.169 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000448/5.815, allocations: 38.62 kB / 2.169 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003197/5.818, allocations: 291.9 kB / 2.169 GB, free: 29.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/5.818, allocations: 112.3 kB / 2.169 GB, free: 29.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/5.818, allocations: 74.22 kB / 2.169 GB, free: 29.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002572/5.821, allocations: 1.749 MB / 2.171 GB, free: 29.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/5.821, allocations: 2.969 kB / 2.171 GB, free: 29.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005463/5.826, allocations: 1.856 MB / 2.173 GB, free: 28.82 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.009081/5.835, allocations: 6.938 MB / 2.18 GB, free: 41.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00563/5.841, allocations: 2.793 MB / 2.182 GB, free: 40.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/5.841, allocations: 8 kB / 2.182 GB, free: 40.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/5.843, allocations: 0.7997 MB / 2.183 GB, free: 40.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008113/5.851, allocations: 1.397 MB / 2.184 GB, free: 40.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/5.864, allocations: 4.484 MB / 2.189 GB, free: 39.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/5.865, allocations: 1.782 MB / 2.191 GB, free: 38.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004536/5.87, allocations: 0.8467 MB / 2.191 GB, free: 38.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/5.871, allocations: 1.111 MB / 2.192 GB, free: 38.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.272e-06/5.871, allocations: 0 / 2.192 GB, free: 38.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1659/6.037, allocations: 106 MB / 2.296 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/6.037, allocations: 236.3 kB / 2.296 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.859/11.9, allocations: 4.062 kB / 2.296 GB, free: 15.21 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)