Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.207/2.207, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001235/0.001235, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001015/0.001015, allocations: 99.12 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.523e-05/4.527e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3347, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/1.664, allocations: 437.6 MB / 1.646 GB, free: 12.79 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.665, allocations: 91.95 kB / 1.646 GB, free: 12.7 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.233/5.898, allocations: 1.066 GB / 2.712 GB, free: 170.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.034e-06/5.898, allocations: 0 / 2.712 GB, free: 170.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004548/5.899, allocations: 84.8 kB / 2.713 GB, free: 170.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.009418/5.908, allocations: 3.185 MB / 2.716 GB, free: 169 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/5.908, allocations: 10.09 kB / 2.716 GB, free: 169 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000829/5.909, allocations: 320.5 kB / 2.716 GB, free: 169 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009998/5.919, allocations: 1.32 MB / 2.717 GB, free: 168.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00787/5.927, allocations: 3.321 MB / 2.72 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/5.927, allocations: 258.5 kB / 2.721 GB, free: 168.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006228/5.928, allocations: 232.6 kB / 2.721 GB, free: 168.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005858/5.934, allocations: 2.829 MB / 2.724 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.21e-05/5.934, allocations: 3.844 kB / 2.724 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003897/5.934, allocations: 109.3 kB / 2.724 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.981e-05/5.934, allocations: 75.39 kB / 2.724 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004232/5.939, allocations: 2.164 MB / 2.726 GB, free: 167.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.02364/5.962, allocations: 13.33 MB / 2.739 GB, free: 162 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/5.964, allocations: 1.237 MB / 2.74 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009681/5.965, allocations: 0.6624 MB / 2.741 GB, free: 161.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/5.967, allocations: 1.779 MB / 2.743 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/5.968, allocations: 0.9964 MB / 2.744 GB, free: 159.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 3.857e-06/5.968, allocations: 0 / 2.744 GB, free: 159.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.005044/5.973, allocations: 1.696 MB / 2.745 GB, free: 159.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002175/5.974, allocations: 0.9465 MB / 2.746 GB, free: 158.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00381/5.977, allocations: 2.255 MB / 2.748 GB, free: 157.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004267/5.978, allocations: 62.77 kB / 2.748 GB, free: 157.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/5.979, allocations: 1.36 MB / 2.75 GB, free: 157.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/5.98, allocations: 424 kB / 2.75 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/5.98, allocations: 39.42 kB / 2.75 GB, free: 157.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001049/5.98, allocations: 370.3 kB / 2.751 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/5.981, allocations: 0.6543 MB / 2.751 GB, free: 156.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/5.982, allocations: 1.261 MB / 2.752 GB, free: 156.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/5.984, allocations: 0.7915 MB / 2.753 GB, free: 156.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/5.984, allocations: 3.656 kB / 2.753 GB, free: 156.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01227/5.996, allocations: 2.892 MB / 2.756 GB, free: 155.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001048/5.997, allocations: 5.029 MB / 2.761 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/5.997, allocations: 15.91 kB / 2.761 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/6, allocations: 0.8276 MB / 2.762 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/6.003, allocations: 498 kB / 2.762 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/6.004, allocations: 1.804 MB / 2.764 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/6.01, allocations: 0.5253 MB / 2.765 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004399/6.011, allocations: 114.8 kB / 2.765 GB, free: 149.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/6.011, allocations: 5.531 kB / 2.765 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01154/6.022, allocations: 2.617 MB / 2.767 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/6.022, allocations: 11.94 kB / 2.767 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/6.025, allocations: 0.8221 MB / 2.768 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/6.027, allocations: 481.5 kB / 2.768 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/6.029, allocations: 1.809 MB / 2.77 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005308/6.034, allocations: 456 kB / 2.771 GB, free: 148.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/6.035, allocations: 105.8 kB / 2.771 GB, free: 148.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.0007159/6.035, allocations: 216.6 kB / 2.771 GB, free: 148 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006994/6.036, allocations: 282.2 kB / 2.771 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/6.047, allocations: 2.303 MB / 2.773 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/6.047, allocations: 19.89 kB / 2.774 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/6.047, allocations: 3.625 kB / 2.774 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01015/6.058, allocations: 2.073 MB / 2.776 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/6.077, allocations: 7.027 MB / 2.782 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/6.077, allocations: 9.031 kB / 2.782 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/6.079, allocations: 290.6 kB / 2.783 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/6.081, allocations: 0.8025 MB / 2.783 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/6.081, allocations: 49.08 kB / 2.784 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/6.083, allocations: 1.803 MB / 2.785 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/6.083, allocations: 10.38 kB / 2.785 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004921/6.088, allocations: 3.398 MB / 2.789 GB, free: 142.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/6.09, allocations: 0.6709 MB / 2.789 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004677/6.09, allocations: 38.34 kB / 2.789 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/6.093, allocations: 299.5 kB / 2.79 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/6.094, allocations: 113 kB / 2.79 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/6.094, allocations: 73.25 kB / 2.79 GB, free: 142.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00274/6.097, allocations: 1.746 MB / 2.791 GB, free: 142.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.81e-07/6.097, allocations: 1.906 kB / 2.791 GB, free: 142.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005586/6.102, allocations: 1.851 MB / 2.793 GB, free: 142.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.007501/6.11, allocations: 6.958 MB / 2.8 GB, free: 138.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005308/6.115, allocations: 2.795 MB / 2.803 GB, free: 138.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/6.115, allocations: 4 kB / 2.803 GB, free: 138.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/6.117, allocations: 0.8043 MB / 2.804 GB, free: 138.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008129/6.125, allocations: 1.388 MB / 2.805 GB, free: 138.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/6.137, allocations: 4.486 MB / 2.809 GB, free: 136.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/6.138, allocations: 1.776 MB / 2.811 GB, free: 136.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004195/6.142, allocations: 0.8525 MB / 2.812 GB, free: 135.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/6.144, allocations: 1.105 MB / 2.813 GB, free: 135.1 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/6.144, allocations: 0 / 2.813 GB, free: 135.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1734/6.317, allocations: 106 MB / 2.917 GB, free: 73.79 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/6.317, allocations: 249.2 kB / 2.917 GB, free: 73.45 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.047/12.36, allocations: 0 / 2.917 GB, free: 73.45 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat does not exist to compare? outputFormat=mat