Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6779/0.6779, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008663/0.0008663, allocations: 182.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0007712/0.0007712, allocations: 91.48 kB / 0.5124 GB, free: 24.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00161/0.00161, allocations: 265.7 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.449e-05, allocations: 8 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3488, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6704/1.019, allocations: 395.6 MB / 1.151 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/1.019, allocations: 90.67 kB / 1.151 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.201/4.221, allocations: 1.061 GB / 2.212 GB, free: 38.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.002e-06/4.221, allocations: 0 / 2.212 GB, free: 38.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003007/4.221, allocations: 83.14 kB / 2.212 GB, free: 38.82 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.006005/4.227, allocations: 3.174 MB / 2.215 GB, free: 35.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/4.227, allocations: 8.031 kB / 2.215 GB, free: 35.54 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006045/4.228, allocations: 324.6 kB / 2.216 GB, free: 35.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007598/4.235, allocations: 1.21 MB / 2.217 GB, free: 34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005582/4.241, allocations: 3.29 MB / 2.22 GB, free: 30.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/4.241, allocations: 247.9 kB / 2.22 GB, free: 30.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004104/4.242, allocations: 239.9 kB / 2.22 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/4.246, allocations: 2.787 MB / 2.223 GB, free: 27.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.723e-05/4.246, allocations: 7.938 kB / 2.223 GB, free: 27.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/4.246, allocations: 104 kB / 2.223 GB, free: 27.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/4.246, allocations: 60 kB / 2.223 GB, free: 27.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/4.249, allocations: 2.113 MB / 2.225 GB, free: 24.88 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.01444/4.264, allocations: 13.14 MB / 2.238 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/4.265, allocations: 1.166 MB / 2.239 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007827/4.266, allocations: 0.6356 MB / 2.24 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/4.267, allocations: 1.773 MB / 2.242 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/4.268, allocations: 0.9457 MB / 2.243 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 4.288e-06/4.268, allocations: 0 / 2.243 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.004227/4.273, allocations: 1.698 MB / 2.244 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/4.273, allocations: 0.9437 MB / 2.245 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/4.276, allocations: 2.242 MB / 2.247 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/4.276, allocations: 57.7 kB / 2.247 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009547/4.277, allocations: 1.361 MB / 2.249 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/4.277, allocations: 406.2 kB / 2.249 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/4.277, allocations: 43.94 kB / 2.249 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000139/4.277, allocations: 365.9 kB / 2.25 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/4.278, allocations: 0.621 MB / 2.25 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/4.28, allocations: 1.248 MB / 2.251 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/4.281, allocations: 0.7642 MB / 2.252 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/4.281, allocations: 4 kB / 2.252 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003835/4.285, allocations: 2.227 MB / 2.254 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001727/4.287, allocations: 5.037 MB / 2.259 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/4.287, allocations: 12 kB / 2.259 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/4.289, allocations: 0.6485 MB / 2.26 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/4.291, allocations: 499.2 kB / 2.26 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/4.293, allocations: 1.682 MB / 2.262 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004363/4.297, allocations: 0.5208 MB / 2.262 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/4.298, allocations: 107.9 kB / 2.263 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/4.298, allocations: 4 kB / 2.263 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003339/4.301, allocations: 1.97 MB / 2.265 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/4.301, allocations: 8 kB / 2.265 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/4.303, allocations: 0.6382 MB / 2.265 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/4.305, allocations: 483.2 kB / 2.266 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/4.307, allocations: 1.695 MB / 2.267 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/4.311, allocations: 434 kB / 2.268 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/4.311, allocations: 115.8 kB / 2.268 GB, free: 11.3 MB / 0.7448 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004574/4.311, allocations: 219.8 kB / 2.268 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006057/4.312, allocations: 276.7 kB / 2.268 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/4.317, allocations: 1.707 MB / 2.27 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/4.317, allocations: 16 kB / 2.27 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/4.317, allocations: 4 kB / 2.27 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003682/4.32, allocations: 1.494 MB / 2.271 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00993/4.33, allocations: 6.42 MB / 2.278 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/4.33, allocations: 8 kB / 2.278 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/4.332, allocations: 283.8 kB / 2.278 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3913/4.723, allocations: 0.6305 MB / 2.279 GB, free: 82.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003566/4.724, allocations: 45.94 kB / 2.279 GB, free: 82.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/4.725, allocations: 1.68 MB / 2.28 GB, free: 81.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/4.725, allocations: 10.41 kB / 2.28 GB, free: 81.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/4.731, allocations: 3.278 MB / 2.283 GB, free: 80.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/4.733, allocations: 0.6565 MB / 2.284 GB, free: 80.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/4.733, allocations: 34.5 kB / 2.284 GB, free: 80.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002952/4.736, allocations: 283.2 kB / 2.284 GB, free: 80.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/4.736, allocations: 115.5 kB / 2.285 GB, free: 80.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/4.736, allocations: 72.23 kB / 2.285 GB, free: 80.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0026/4.739, allocations: 1.742 MB / 2.286 GB, free: 80.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/4.739, allocations: 0 / 2.286 GB, free: 80.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004273/4.743, allocations: 1.846 MB / 2.288 GB, free: 80.05 MB / 0.7448 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.006507/4.75, allocations: 6.834 MB / 2.295 GB, free: 76.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003895/4.754, allocations: 2.707 MB / 2.297 GB, free: 76.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/4.754, allocations: 4.656 kB / 2.297 GB, free: 76.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/4.755, allocations: 0.7745 MB / 2.298 GB, free: 76.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/4.76, allocations: 1.402 MB / 2.3 GB, free: 76.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009056/4.769, allocations: 4.651 MB / 2.304 GB, free: 75.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/4.77, allocations: 1.772 MB / 2.306 GB, free: 74.38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003364/4.774, allocations: 0.8535 MB / 2.307 GB, free: 74.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/4.775, allocations: 1.108 MB / 2.308 GB, free: 74.35 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/4.775, allocations: 0 / 2.308 GB, free: 74.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1252/4.9, allocations: 103.6 MB / 2.409 GB, free: 69.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/4.9, allocations: 249.1 kB / 2.409 GB, free: 68.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.095/9.995, allocations: 0 / 2.409 GB, free: 68.91 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)