Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 176.8 kB / 492.3 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 221.3 MB / 0.7872 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 92.83 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.074e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 142.3 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.435, allocations: 436.3 MB / 1.639 GB, free: 10.36 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/1.435, allocations: 88.77 kB / 1.639 GB, free: 10.32 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.261/5.697, allocations: 1.066 GB / 2.705 GB, free: 157.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.647e-06/5.697, allocations: 3.312 kB / 2.705 GB, free: 157.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000733/5.697, allocations: 80.31 kB / 2.705 GB, free: 157.1 MB / 1.167 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.01291/5.71, allocations: 3.172 MB / 2.708 GB, free: 155.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/5.71, allocations: 11.22 kB / 2.708 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00164/5.712, allocations: 319.9 kB / 2.708 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00948/5.722, allocations: 1.214 MB / 2.709 GB, free: 155.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008254/5.73, allocations: 3.305 MB / 2.713 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/5.73, allocations: 249.8 kB / 2.713 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/5.73, allocations: 237.9 kB / 2.713 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004544/5.735, allocations: 2.791 MB / 2.716 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/5.735, allocations: 3.188 kB / 2.716 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/5.735, allocations: 105.9 kB / 2.716 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/5.735, allocations: 71.23 kB / 2.716 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/5.739, allocations: 2.106 MB / 2.718 GB, free: 154.7 MB / 1.167 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.0205/5.759, allocations: 13.13 MB / 2.731 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/5.761, allocations: 1.166 MB / 2.732 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008676/5.762, allocations: 0.6275 MB / 2.733 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/5.764, allocations: 1.779 MB / 2.734 GB, free: 147 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/5.765, allocations: 0.9476 MB / 2.735 GB, free: 146.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 4.469e-06/5.765, allocations: 2.562 kB / 2.735 GB, free: 146.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.005115/5.77, allocations: 1.702 MB / 2.737 GB, free: 146.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/5.771, allocations: 0.9427 MB / 2.738 GB, free: 145.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/5.774, allocations: 2.246 MB / 2.74 GB, free: 145.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004947/5.775, allocations: 62.98 kB / 2.74 GB, free: 145.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/5.776, allocations: 1.364 MB / 2.741 GB, free: 144.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005796/5.777, allocations: 423.4 kB / 2.742 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/5.777, allocations: 33.44 kB / 2.742 GB, free: 144.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001449/5.777, allocations: 369.1 kB / 2.742 GB, free: 144 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/5.778, allocations: 0.6197 MB / 2.743 GB, free: 144 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/5.78, allocations: 1.237 MB / 2.744 GB, free: 143.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/5.781, allocations: 0.7699 MB / 2.745 GB, free: 143.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/5.781, allocations: 3.406 kB / 2.745 GB, free: 143.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004571/5.786, allocations: 2.229 MB / 2.747 GB, free: 143.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009793/5.787, allocations: 5.027 MB / 2.752 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/5.787, allocations: 11.09 kB / 2.752 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/5.789, allocations: 0.647 MB / 2.752 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/5.792, allocations: 493 kB / 2.753 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/5.793, allocations: 1.695 MB / 2.755 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005571/5.799, allocations: 0.5076 MB / 2.755 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004599/5.799, allocations: 109.4 kB / 2.755 GB, free: 136.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/5.799, allocations: 3.906 kB / 2.755 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003815/5.803, allocations: 1.958 MB / 2.757 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/5.803, allocations: 11.09 kB / 2.757 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/5.805, allocations: 0.6415 MB / 2.758 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/5.808, allocations: 486 kB / 2.758 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/5.809, allocations: 1.692 MB / 2.76 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/5.814, allocations: 443.7 kB / 2.76 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004027/5.815, allocations: 105.9 kB / 2.76 GB, free: 135.4 MB / 1.167 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.0006536/5.815, allocations: 216.3 kB / 2.761 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008736/5.816, allocations: 276.5 kB / 2.761 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/5.821, allocations: 1.708 MB / 2.763 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/5.821, allocations: 17.52 kB / 2.763 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/5.821, allocations: 6.875 kB / 2.763 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003845/5.825, allocations: 1.493 MB / 2.764 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/5.837, allocations: 6.421 MB / 2.77 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/5.837, allocations: 11.11 kB / 2.77 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/5.839, allocations: 291 kB / 2.771 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/5.841, allocations: 0.6253 MB / 2.771 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/5.841, allocations: 52.52 kB / 2.771 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/5.843, allocations: 1.683 MB / 2.773 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.381e-05/5.843, allocations: 11.03 kB / 2.773 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005155/5.848, allocations: 3.285 MB / 2.776 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/5.85, allocations: 0.6568 MB / 2.777 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005835/5.85, allocations: 37.77 kB / 2.777 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/5.854, allocations: 278 kB / 2.777 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/5.854, allocations: 117 kB / 2.777 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/5.854, allocations: 69.59 kB / 2.777 GB, free: 129.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003014/5.857, allocations: 1.744 MB / 2.779 GB, free: 129.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/5.857, allocations: 0 / 2.779 GB, free: 129.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006783/5.864, allocations: 1.845 MB / 2.781 GB, free: 129.5 MB / 1.167 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.009232/5.873, allocations: 6.837 MB / 2.787 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00493/5.878, allocations: 2.711 MB / 2.79 GB, free: 125.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/5.878, allocations: 4.156 kB / 2.79 GB, free: 125.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/5.88, allocations: 0.7735 MB / 2.791 GB, free: 125.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007486/5.887, allocations: 1.383 MB / 2.792 GB, free: 125.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/5.901, allocations: 4.68 MB / 2.797 GB, free: 124.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/5.902, allocations: 1.768 MB / 2.798 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004492/5.906, allocations: 0.8488 MB / 2.799 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/5.908, allocations: 1.11 MB / 2.8 GB, free: 123.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.393e-06/5.908, allocations: 0 / 2.8 GB, free: 123.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/6.08, allocations: 103.2 MB / 2.901 GB, free: 118.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/6.08, allocations: 247 kB / 2.901 GB, free: 118.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.836/11.92, allocations: 0 / 2.901 GB, free: 118.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat does not exist to compare? outputFormat=mat