Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.458/2.458, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.00137/0.00137, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.528/1.528, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008974/0.0008977, allocations: 101.4 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.607e-05, allocations: 7.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2991, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.51, allocations: 436.1 MB / 1.632 GB, free: 2.34 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.51, allocations: 88.08 kB / 1.632 GB, free: 2.297 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.208/5.719, allocations: 1.061 GB / 2.693 GB, free: 158.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.185e-06/5.719, allocations: 3.719 kB / 2.693 GB, free: 158.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005119/5.719, allocations: 82.56 kB / 2.693 GB, free: 158.4 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01171/5.731, allocations: 3.186 MB / 2.696 GB, free: 157.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/5.731, allocations: 12.56 kB / 2.696 GB, free: 157.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/5.747, allocations: 1.319 MB / 2.698 GB, free: 157.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/5.759, allocations: 3.317 MB / 2.701 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004862/5.76, allocations: 167 kB / 2.701 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/5.761, allocations: 143.3 kB / 2.701 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007595/5.768, allocations: 2.023 MB / 2.703 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006352/5.775, allocations: 2.5 MB / 2.705 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.774e-05/5.775, allocations: 6.656 kB / 2.705 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000352/5.775, allocations: 6.375 kB / 2.705 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/5.775, allocations: 71.81 kB / 2.706 GB, free: 156.2 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.02185/5.797, allocations: 12.82 MB / 2.718 GB, free: 150.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/5.799, allocations: 1.194 MB / 2.719 GB, free: 150.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000798/5.8, allocations: 0.6267 MB / 2.72 GB, free: 150.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/5.801, allocations: 1.778 MB / 2.722 GB, free: 148.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/5.803, allocations: 0.9607 MB / 2.723 GB, free: 148.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 3.347e-06/5.803, allocations: 0 / 2.723 GB, free: 148.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.006937/5.81, allocations: 1.837 MB / 2.724 GB, free: 148 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002934/5.81, allocations: 0.9349 MB / 2.725 GB, free: 146.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00319/5.813, allocations: 1.852 MB / 2.727 GB, free: 146.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003969/5.813, allocations: 38.89 kB / 2.727 GB, free: 146.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/5.815, allocations: 1.394 MB / 2.728 GB, free: 146.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/5.815, allocations: 407.5 kB / 2.729 GB, free: 145.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/5.815, allocations: 0 / 2.729 GB, free: 145.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001023/5.815, allocations: 367.1 kB / 2.729 GB, free: 145.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009651/5.816, allocations: 0.6229 MB / 2.73 GB, free: 145.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/5.818, allocations: 1.23 MB / 2.731 GB, free: 145 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/5.821, allocations: 0.9782 MB / 2.732 GB, free: 144.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/5.821, allocations: 3.719 kB / 2.732 GB, free: 144.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01495/5.836, allocations: 2.936 MB / 2.735 GB, free: 144.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001079/5.837, allocations: 4.947 MB / 2.74 GB, free: 139.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/5.837, allocations: 11.84 kB / 2.74 GB, free: 139.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/5.839, allocations: 0.7101 MB / 2.74 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/5.842, allocations: 496.5 kB / 2.741 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/5.844, allocations: 1.907 MB / 2.743 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005106/5.849, allocations: 463.2 kB / 2.743 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/5.849, allocations: 112.4 kB / 2.743 GB, free: 138.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/5.849, allocations: 2.438 kB / 2.743 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01407/5.863, allocations: 2.645 MB / 2.746 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/5.863, allocations: 17.25 kB / 2.746 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/5.865, allocations: 0.71 MB / 2.747 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/5.868, allocations: 485.9 kB / 2.747 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/5.87, allocations: 1.896 MB / 2.749 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004711/5.875, allocations: 375.1 kB / 2.749 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/5.875, allocations: 106.9 kB / 2.749 GB, free: 137.1 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005564/5.876, allocations: 166.7 kB / 2.749 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006441/5.882, allocations: 1.828 MB / 2.751 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000557/5.883, allocations: 244.5 kB / 2.751 GB, free: 136.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/5.895, allocations: 2.434 MB / 2.754 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/5.896, allocations: 23.7 kB / 2.754 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/5.896, allocations: 6.656 kB / 2.754 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01201/5.908, allocations: 2.26 MB / 2.756 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/5.925, allocations: 6.837 MB / 2.763 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/5.925, allocations: 11.33 kB / 2.763 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/5.927, allocations: 291.4 kB / 2.763 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/5.928, allocations: 0.702 MB / 2.764 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/5.928, allocations: 33.38 kB / 2.764 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/5.93, allocations: 1.894 MB / 2.766 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/5.93, allocations: 15 kB / 2.766 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006753/5.937, allocations: 3.403 MB / 2.769 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/5.939, allocations: 0.6336 MB / 2.77 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008784/5.94, allocations: 17.41 kB / 2.77 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003813/5.944, allocations: 265.6 kB / 2.77 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/5.944, allocations: 111.6 kB / 2.77 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/5.944, allocations: 76.64 kB / 2.77 GB, free: 131.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002881/5.947, allocations: 1.39 MB / 2.771 GB, free: 131.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/5.947, allocations: 0 / 2.771 GB, free: 131.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00843/5.956, allocations: 1.816 MB / 2.773 GB, free: 131.2 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0104/5.966, allocations: 7.066 MB / 2.78 GB, free: 127.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004783/5.971, allocations: 2.64 MB / 2.783 GB, free: 127.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/5.971, allocations: 8.141 kB / 2.783 GB, free: 127.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/5.973, allocations: 0.7678 MB / 2.783 GB, free: 127.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0067/5.979, allocations: 1.083 MB / 2.784 GB, free: 127.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/5.992, allocations: 4.301 MB / 2.789 GB, free: 126 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/5.993, allocations: 1.773 MB / 2.79 GB, free: 125.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004123/5.997, allocations: 0.7577 MB / 2.791 GB, free: 125.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/5.998, allocations: 1.095 MB / 2.792 GB, free: 125.2 MB / 1.167 GB Notification: Performance of SimCode: time 9.42e-07/5.998, allocations: 0 / 2.792 GB, free: 125.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1415/6.14, allocations: 87.35 MB / 2.877 GB, free: 120.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/6.14, allocations: 195.5 kB / 2.878 GB, free: 120.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.029/11.17, allocations: 5.812 kB / 2.878 GB, free: 120.5 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat does not exist to compare? outputFormat=mat