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.236/2.236, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001299/0.001299, allocations: 181.2 kB / 498.1 MB, free: 5.75 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.457/1.457, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001061/0.001061, allocations: 96.34 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.000404, allocations: 13.78 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2626, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.313, allocations: 436.8 MB / 1.65 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.313, allocations: 92.23 kB / 1.65 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.431/4.744, allocations: 1.069 GB / 2.719 GB, free: 37.39 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.913e-06/4.744, allocations: 0 / 2.719 GB, free: 37.39 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004629/4.745, allocations: 79.92 kB / 2.719 GB, free: 37.32 MB / 1.182 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.01034/4.755, allocations: 3.705 MB / 2.723 GB, free: 33.51 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/4.755, allocations: 15.97 kB / 2.723 GB, free: 33.49 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001132/4.756, allocations: 328.8 kB / 2.723 GB, free: 33.16 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/4.766, allocations: 1.315 MB / 2.724 GB, free: 31.84 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008845/4.775, allocations: 3.357 MB / 2.728 GB, free: 28.41 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/4.776, allocations: 247.9 kB / 2.728 GB, free: 28.15 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009351/4.777, allocations: 232 kB / 2.728 GB, free: 27.92 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/4.787, allocations: 3.197 MB / 2.731 GB, free: 24.53 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/4.787, allocations: 11.84 kB / 2.731 GB, free: 24.52 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008035/4.788, allocations: 104 kB / 2.731 GB, free: 24.42 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.967e-05/4.788, allocations: 67.98 kB / 2.731 GB, free: 24.35 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/4.798, allocations: 2.882 MB / 2.734 GB, free: 21.45 MB / 1.182 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.02256/4.821, allocations: 13.32 MB / 2.747 GB, free: 7.559 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/4.825, allocations: 1.602 MB / 2.749 GB, free: 5.914 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/4.827, allocations: 1.777 MB / 2.751 GB, free: 3.75 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003829/4.831, allocations: 1.289 MB / 2.752 GB, free: 2.359 MB / 1.182 GB Notification: Performance of pre-optimization done (n=122): time 5.09e-06/4.831, allocations: 0 / 2.752 GB, free: 2.359 MB / 1.182 GB Notification: Performance of matching and sorting (n=122): time 0.04245/4.873, allocations: 6.121 MB / 2.758 GB, free: 12.18 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000408/4.874, allocations: 0.9435 MB / 2.759 GB, free: 11.02 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006137/4.88, allocations: 2.333 MB / 2.761 GB, free: 8.676 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005074/4.88, allocations: 61.7 kB / 2.761 GB, free: 8.609 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001789/4.882, allocations: 1.368 MB / 2.762 GB, free: 7.227 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008025/4.883, allocations: 431.4 kB / 2.763 GB, free: 6.801 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/4.883, allocations: 36 kB / 2.763 GB, free: 6.766 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002198/4.884, allocations: 369.9 kB / 2.763 GB, free: 6.398 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004306/4.888, allocations: 0.9954 MB / 2.764 GB, free: 5.402 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00474/4.893, allocations: 1.614 MB / 2.766 GB, free: 3.543 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004349/4.897, allocations: 1.126 MB / 2.767 GB, free: 2.41 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/4.897, allocations: 4 kB / 2.767 GB, free: 2.406 MB / 1.198 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01974/4.917, allocations: 3.65 MB / 2.77 GB, free: 14.73 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001849/4.919, allocations: 5.038 MB / 2.775 GB, free: 9.289 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/4.919, allocations: 16 kB / 2.775 GB, free: 9.273 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003534/4.922, allocations: 0.956 MB / 2.776 GB, free: 8.312 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/4.926, allocations: 499.2 kB / 2.777 GB, free: 7.824 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/4.929, allocations: 1.988 MB / 2.779 GB, free: 5.785 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00643/4.936, allocations: 0.5248 MB / 2.779 GB, free: 5.258 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006718/4.937, allocations: 103.9 kB / 2.779 GB, free: 5.156 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/4.937, allocations: 4 kB / 2.779 GB, free: 5.152 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01955/4.956, allocations: 3.324 MB / 2.783 GB, free: 1.812 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.362e-05/4.956, allocations: 12 kB / 2.783 GB, free: 1.801 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/4.96, allocations: 0.9693 MB / 2.783 GB, free: 0.8281 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/4.963, allocations: 483.2 kB / 2.784 GB, free: 364 kB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.653/5.616, allocations: 1.981 MB / 2.786 GB, free: 190.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/5.621, allocations: 457.2 kB / 2.786 GB, free: 190.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003512/5.621, allocations: 103.7 kB / 2.786 GB, free: 190.4 MB / 1.214 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.002035/5.623, allocations: 0.6985 MB / 2.787 GB, free: 190.2 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008125/5.624, allocations: 274.3 kB / 2.787 GB, free: 190.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/5.643, allocations: 2.937 MB / 2.79 GB, free: 190.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/5.643, allocations: 16.94 kB / 2.79 GB, free: 190.1 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/5.643, allocations: 7.125 kB / 2.79 GB, free: 190.1 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0169/5.66, allocations: 2.721 MB / 2.793 GB, free: 189.8 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/5.684, allocations: 7.647 MB / 2.8 GB, free: 187.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/5.684, allocations: 6.5 kB / 2.8 GB, free: 187.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/5.686, allocations: 296.9 kB / 2.801 GB, free: 187.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003206/5.689, allocations: 0.9427 MB / 2.802 GB, free: 187.9 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/5.689, allocations: 55.31 kB / 2.802 GB, free: 187.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/5.692, allocations: 1.986 MB / 2.804 GB, free: 186.8 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/5.692, allocations: 11.34 kB / 2.804 GB, free: 186.8 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/5.706, allocations: 4.326 MB / 2.808 GB, free: 185.4 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/5.708, allocations: 0.6661 MB / 2.808 GB, free: 185.2 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/5.708, allocations: 41.06 kB / 2.808 GB, free: 185.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003469/5.712, allocations: 296.8 kB / 2.809 GB, free: 185.2 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/5.712, allocations: 112 kB / 2.809 GB, free: 185.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/5.712, allocations: 67.58 kB / 2.809 GB, free: 185.2 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.003411/5.716, allocations: 1.833 MB / 2.811 GB, free: 185 MB / 1.214 GB Notification: Performance of sort global known variables: time 3.2e-07/5.716, allocations: 0 / 2.811 GB, free: 185 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.005961/5.722, allocations: 1.859 MB / 2.813 GB, free: 184.9 MB / 1.214 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.01448/5.736, allocations: 7.872 MB / 2.82 GB, free: 181.3 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01264/5.749, allocations: 3.66 MB / 2.824 GB, free: 181.2 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.847e-05/5.749, allocations: 4.125 kB / 2.824 GB, free: 181.2 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.003935/5.753, allocations: 1.084 MB / 2.825 GB, free: 181.1 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00687/5.76, allocations: 1.398 MB / 2.826 GB, free: 181.1 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04866/5.808, allocations: 27.05 MB / 2.853 GB, free: 165.9 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/5.81, allocations: 1.773 MB / 2.854 GB, free: 165.1 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.003751/5.813, allocations: 0.6855 MB / 2.855 GB, free: 165.1 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/5.815, allocations: 1.152 MB / 2.856 GB, free: 165.1 MB / 1.214 GB Notification: Performance of SimCode: time 1.122e-06/5.815, allocations: 2.156 kB / 2.856 GB, free: 165.1 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/5.962, allocations: 101.8 MB / 2.956 GB, free: 160.6 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/5.962, allocations: 271.3 kB / 2.956 GB, free: 160.3 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.641/11.6, allocations: 0 / 2.956 GB, free: 160.3 MB / 1.214 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