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.563/2.563, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001287/0.001287, allocations: 190.6 kB / 0.4901 GB, free: 2.234 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.859/1.859, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.001068/0.001068, allocations: 103.9 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003676, allocations: 8.625 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3168, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.572, allocations: 437.6 MB / 1.657 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/1.573, allocations: 96.61 kB / 1.657 GB, free: 3.773 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.716/5.289, allocations: 1.069 GB / 2.726 GB, free: 10.72 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.424e-06/5.289, allocations: 0 / 2.726 GB, free: 10.72 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003688/5.289, allocations: 79.97 kB / 2.726 GB, free: 10.64 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.01195/5.301, allocations: 3.704 MB / 2.73 GB, free: 6.836 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/5.301, allocations: 12.02 kB / 2.73 GB, free: 6.824 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001359/5.303, allocations: 336.7 kB / 2.73 GB, free: 6.484 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/5.314, allocations: 1.315 MB / 2.731 GB, free: 5.164 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008408/5.322, allocations: 3.344 MB / 2.735 GB, free: 1.742 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/5.322, allocations: 247.9 kB / 2.735 GB, free: 1.484 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005217/5.323, allocations: 236 kB / 2.735 GB, free: 1.254 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008629/5.331, allocations: 3.199 MB / 2.738 GB, free: 13.86 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.297e-05/5.332, allocations: 11.92 kB / 2.738 GB, free: 13.85 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003448/5.332, allocations: 104 kB / 2.738 GB, free: 13.75 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.461e-05/5.332, allocations: 67.98 kB / 2.739 GB, free: 13.68 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/5.342, allocations: 2.882 MB / 2.741 GB, free: 10.79 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.8268/6.169, allocations: 13.33 MB / 2.754 GB, free: 153.9 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005063/6.174, allocations: 1.6 MB / 2.756 GB, free: 153.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/6.176, allocations: 1.777 MB / 2.758 GB, free: 151.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004541/6.181, allocations: 1.277 MB / 2.759 GB, free: 151.5 MB / 1.182 GB Notification: Performance of pre-optimization done (n=122): time 5.239e-06/6.181, allocations: 2.719 kB / 2.759 GB, free: 151.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=122): time 0.04392/6.225, allocations: 6.124 MB / 2.765 GB, free: 151.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002908/6.225, allocations: 0.9362 MB / 2.766 GB, free: 150.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005882/6.231, allocations: 2.338 MB / 2.768 GB, free: 149.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000596/6.232, allocations: 60.94 kB / 2.768 GB, free: 149.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/6.233, allocations: 1.363 MB / 2.769 GB, free: 149.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000738/6.234, allocations: 430.5 kB / 2.77 GB, free: 149.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/6.234, allocations: 38.75 kB / 2.77 GB, free: 149.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001427/6.234, allocations: 365.5 kB / 2.77 GB, free: 149 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/6.239, allocations: 1.004 MB / 2.771 GB, free: 149 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005341/6.244, allocations: 1.612 MB / 2.773 GB, free: 148.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004702/6.249, allocations: 1.122 MB / 2.774 GB, free: 148.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/6.249, allocations: 6.469 kB / 2.774 GB, free: 148.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.02107/6.27, allocations: 3.65 MB / 2.777 GB, free: 148.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001377/6.271, allocations: 5.043 MB / 2.782 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/6.271, allocations: 12.28 kB / 2.782 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/6.275, allocations: 0.9548 MB / 2.783 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/6.278, allocations: 497.1 kB / 2.784 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/6.282, allocations: 1.989 MB / 2.786 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006256/6.288, allocations: 0.5305 MB / 2.786 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004505/6.288, allocations: 107.3 kB / 2.786 GB, free: 141.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/6.288, allocations: 4.75 kB / 2.786 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01699/6.305, allocations: 3.324 MB / 2.79 GB, free: 141.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.47e-05/6.305, allocations: 10.59 kB / 2.79 GB, free: 141.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/6.308, allocations: 0.9621 MB / 2.791 GB, free: 141.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/6.311, allocations: 483.8 kB / 2.791 GB, free: 141.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/6.314, allocations: 1.993 MB / 2.793 GB, free: 140.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005539/6.32, allocations: 456 kB / 2.793 GB, free: 140.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003731/6.32, allocations: 104.8 kB / 2.794 GB, free: 140.5 MB / 1.182 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.002288/6.323, allocations: 0.6984 MB / 2.794 GB, free: 140.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009394/6.324, allocations: 287 kB / 2.794 GB, free: 140.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01651/6.34, allocations: 2.941 MB / 2.797 GB, free: 140 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-05/6.34, allocations: 17.77 kB / 2.797 GB, free: 140 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/6.34, allocations: 8.281 kB / 2.797 GB, free: 140 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0155/6.356, allocations: 2.705 MB / 2.8 GB, free: 139.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/6.379, allocations: 7.652 MB / 2.808 GB, free: 137.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/6.379, allocations: 7.312 kB / 2.808 GB, free: 137.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/6.381, allocations: 292.8 kB / 2.808 GB, free: 137.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/6.384, allocations: 0.943 MB / 2.809 GB, free: 137.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/6.384, allocations: 51.59 kB / 2.809 GB, free: 137.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/6.387, allocations: 1.979 MB / 2.811 GB, free: 136.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/6.387, allocations: 10.44 kB / 2.811 GB, free: 136.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/6.398, allocations: 4.328 MB / 2.815 GB, free: 135.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/6.401, allocations: 0.667 MB / 2.816 GB, free: 134.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006098/6.401, allocations: 38.53 kB / 2.816 GB, free: 134.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003521/6.405, allocations: 295.4 kB / 2.816 GB, free: 134.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/6.405, allocations: 110.4 kB / 2.816 GB, free: 134.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/6.405, allocations: 77.33 kB / 2.816 GB, free: 134.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003285/6.409, allocations: 1.83 MB / 2.818 GB, free: 134.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.91e-07/6.409, allocations: 3.219 kB / 2.818 GB, free: 134.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0076/6.416, allocations: 1.85 MB / 2.82 GB, free: 134.7 MB / 1.182 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.01585/6.432, allocations: 7.867 MB / 2.827 GB, free: 131.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01381/6.446, allocations: 3.662 MB / 2.831 GB, free: 130.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-05/6.446, allocations: 3.969 kB / 2.831 GB, free: 130.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004159/6.45, allocations: 1.094 MB / 2.832 GB, free: 130.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007022/6.457, allocations: 1.384 MB / 2.833 GB, free: 130.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05163/6.509, allocations: 27.05 MB / 2.86 GB, free: 115.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/6.51, allocations: 1.767 MB / 2.862 GB, free: 114.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004178/6.514, allocations: 0.6931 MB / 2.862 GB, free: 114.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/6.516, allocations: 1.156 MB / 2.863 GB, free: 114.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.312e-06/6.516, allocations: 3.562 kB / 2.863 GB, free: 114.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.179/6.695, allocations: 101.8 MB / 2.963 GB, free: 109.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/6.695, allocations: 273.8 kB / 2.963 GB, free: 109.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.188/12.88, allocations: 0 / 2.963 GB, free: 109.3 MB / 1.182 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