Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.53/2.53, allocations: 390.5 MB / 398 MB, free: 10.91 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.001349/0.001348, allocations: 192.7 kB / 491.2 MB, free: 1.551 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.682/1.682, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.00112/0.00112, allocations: 87.97 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.754e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3116, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.492, allocations: 436.4 MB / 1.639 GB, free: 10.3 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/1.492, allocations: 88.52 kB / 1.639 GB, free: 10.26 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.06/5.553, allocations: 1.061 GB / 2.699 GB, free: 157.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.082e-06/5.553, allocations: 0 / 2.699 GB, free: 157.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003109/5.553, allocations: 83.22 kB / 2.7 GB, free: 157.7 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.007719/5.561, allocations: 3.176 MB / 2.703 GB, free: 156.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/5.561, allocations: 10.75 kB / 2.703 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008619/5.569, allocations: 1.208 MB / 2.704 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006644/5.576, allocations: 3.318 MB / 2.707 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/5.576, allocations: 159.1 kB / 2.707 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003298/5.577, allocations: 142.7 kB / 2.707 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00337/5.58, allocations: 1.971 MB / 2.709 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/5.584, allocations: 2.455 MB / 2.712 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/5.584, allocations: 2.438 kB / 2.712 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/5.584, allocations: 7.062 kB / 2.712 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.244e-05/5.584, allocations: 76.05 kB / 2.712 GB, free: 155.3 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.01659/5.601, allocations: 12.62 MB / 2.724 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/5.602, allocations: 1.123 MB / 2.725 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/5.603, allocations: 0.5971 MB / 2.726 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/5.604, allocations: 1.775 MB / 2.728 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/5.605, allocations: 0.921 MB / 2.728 GB, free: 147.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 3.426e-06/5.605, allocations: 0 / 2.728 GB, free: 147.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.006625/5.612, allocations: 1.839 MB / 2.73 GB, free: 147.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002234/5.612, allocations: 0.938 MB / 2.731 GB, free: 146.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/5.615, allocations: 1.85 MB / 2.733 GB, free: 145.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002685/5.615, allocations: 35.98 kB / 2.733 GB, free: 145.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/5.616, allocations: 1.388 MB / 2.734 GB, free: 145.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/5.617, allocations: 403.8 kB / 2.735 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/5.617, allocations: 0 / 2.735 GB, free: 145.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/5.617, allocations: 367.4 kB / 2.735 GB, free: 144.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008796/5.618, allocations: 0.5938 MB / 2.736 GB, free: 144.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/5.619, allocations: 1.189 MB / 2.737 GB, free: 144.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/5.622, allocations: 0.9591 MB / 2.738 GB, free: 144.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/5.622, allocations: 3.844 kB / 2.738 GB, free: 144.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005987/5.628, allocations: 2.284 MB / 2.74 GB, free: 143.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001838/5.63, allocations: 4.936 MB / 2.745 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/5.63, allocations: 14.44 kB / 2.745 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/5.632, allocations: 0.5299 MB / 2.745 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/5.634, allocations: 0.4892 MB / 2.746 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/5.637, allocations: 1.779 MB / 2.748 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/5.641, allocations: 450.5 kB / 2.748 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/5.642, allocations: 108.9 kB / 2.748 GB, free: 137.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/5.642, allocations: 3.844 kB / 2.748 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005177/5.647, allocations: 1.986 MB / 2.75 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/5.647, allocations: 11.19 kB / 2.75 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009918/5.648, allocations: 0.5327 MB / 2.751 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/5.65, allocations: 480 kB / 2.751 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/5.652, allocations: 1.783 MB / 2.753 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/5.656, allocations: 359.7 kB / 2.753 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/5.656, allocations: 109.9 kB / 2.753 GB, free: 136.3 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.0005609/5.657, allocations: 166 kB / 2.753 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006728/5.664, allocations: 1.84 MB / 2.755 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008431/5.665, allocations: 237.9 kB / 2.755 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00645/5.671, allocations: 1.837 MB / 2.757 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/5.671, allocations: 18.77 kB / 2.757 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/5.671, allocations: 14.75 kB / 2.757 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005391/5.677, allocations: 1.672 MB / 2.759 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/5.689, allocations: 6.251 MB / 2.765 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/5.689, allocations: 11.23 kB / 2.765 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/5.69, allocations: 288.5 kB / 2.765 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009855/5.691, allocations: 0.525 MB / 2.766 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/5.691, allocations: 36.22 kB / 2.766 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/5.693, allocations: 1.77 MB / 2.768 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/5.693, allocations: 10.34 kB / 2.768 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006518/5.7, allocations: 3.292 MB / 2.771 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/5.701, allocations: 0.6251 MB / 2.771 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/5.702, allocations: 17.28 kB / 2.771 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/5.705, allocations: 254.7 kB / 2.772 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/5.705, allocations: 107.6 kB / 2.772 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/5.705, allocations: 72.98 kB / 2.772 GB, free: 130.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001908/5.707, allocations: 1.387 MB / 2.773 GB, free: 130.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/5.707, allocations: 0 / 2.773 GB, free: 130.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005409/5.713, allocations: 1.81 MB / 2.775 GB, free: 130.4 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.009413/5.722, allocations: 6.956 MB / 2.782 GB, free: 126.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004402/5.726, allocations: 2.549 MB / 2.784 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/5.726, allocations: 4.188 kB / 2.784 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/5.728, allocations: 0.7389 MB / 2.785 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/5.733, allocations: 1.077 MB / 2.786 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/5.747, allocations: 4.487 MB / 2.79 GB, free: 125.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/5.748, allocations: 1.77 MB / 2.792 GB, free: 124.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004029/5.752, allocations: 0.7566 MB / 2.793 GB, free: 124.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/5.754, allocations: 1.105 MB / 2.794 GB, free: 124.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.192e-06/5.754, allocations: 0 / 2.794 GB, free: 124.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/5.888, allocations: 84.84 MB / 2.877 GB, free: 120 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/5.888, allocations: 206.9 kB / 2.877 GB, free: 119.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.643/11.53, allocations: 4 kB / 2.877 GB, free: 119.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat does not exist to compare? outputFormat=mat