Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.281/2.281, allocations: 390.5 MB / 398 MB, free: 10.96 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.001554/0.001554, allocations: 187.4 kB / 491.2 MB, free: 1.605 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.729/1.729, 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.001166/0.001166, allocations: 95.94 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.096e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3194, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.46/1.779, allocations: 435.5 MB / 1.638 GB, free: 11.36 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.78, allocations: 87.52 kB / 1.638 GB, free: 11.31 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.923/3.703, allocations: 0.5579 GB / 2.196 GB, free: 2.305 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.723e-06/3.703, allocations: 0 / 2.196 GB, free: 2.305 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000146/3.703, allocations: 39.92 kB / 2.196 GB, free: 2.266 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004258/3.707, allocations: 1.91 MB / 2.198 GB, free: 292 kB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/3.707, allocations: 11.97 kB / 2.198 GB, free: 280 kB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7696/4.477, allocations: 0.612 MB / 2.198 GB, free: 237.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00451/4.481, allocations: 1.785 MB / 2.2 GB, free: 237.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/4.482, allocations: 90.44 kB / 2.2 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/4.482, allocations: 70.78 kB / 2.2 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002397/4.484, allocations: 1.021 MB / 2.201 GB, free: 237.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/4.487, allocations: 1.278 MB / 2.202 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/4.487, allocations: 12.59 kB / 2.202 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/4.487, allocations: 4.281 kB / 2.202 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.762e-05/4.487, allocations: 51.84 kB / 2.202 GB, free: 237.1 MB / 1.151 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.01205/4.499, allocations: 6.48 MB / 2.209 GB, free: 234.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/4.5, allocations: 0.5034 MB / 2.209 GB, free: 234.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/4.501, allocations: 317.1 kB / 2.21 GB, free: 234.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/4.502, allocations: 1.268 MB / 2.211 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008171/4.503, allocations: 0.5043 MB / 2.211 GB, free: 232.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 3.076e-06/4.503, allocations: 0 / 2.211 GB, free: 232.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.003114/4.506, allocations: 0.9036 MB / 2.212 GB, free: 232.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/4.506, allocations: 481.6 kB / 2.213 GB, free: 232 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/4.508, allocations: 0.9966 MB / 2.214 GB, free: 231.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/4.508, allocations: 30.23 kB / 2.214 GB, free: 231.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000609/4.508, allocations: 0.7276 MB / 2.214 GB, free: 231.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/4.509, allocations: 218 kB / 2.215 GB, free: 231.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/4.509, allocations: 2.516 kB / 2.215 GB, free: 231.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/4.509, allocations: 343.2 kB / 2.215 GB, free: 231.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/4.509, allocations: 312.2 kB / 2.215 GB, free: 231.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/4.51, allocations: 0.6161 MB / 2.216 GB, free: 230.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/4.512, allocations: 0.4907 MB / 2.216 GB, free: 230.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/4.512, allocations: 5.281 kB / 2.216 GB, free: 230.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004736/4.517, allocations: 1.263 MB / 2.217 GB, free: 230.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005221/4.517, allocations: 2.489 MB / 2.22 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/4.517, allocations: 9.078 kB / 2.22 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007296/4.518, allocations: 268 kB / 2.22 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/4.52, allocations: 273.6 kB / 2.22 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/4.521, allocations: 0.8926 MB / 2.221 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/4.523, allocations: 234.5 kB / 2.221 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/4.524, allocations: 56.69 kB / 2.222 GB, free: 227.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/4.524, allocations: 5.906 kB / 2.222 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004484/4.528, allocations: 1.115 MB / 2.223 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/4.528, allocations: 6.594 kB / 2.223 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000668/4.529, allocations: 275.7 kB / 2.223 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/4.53, allocations: 263.4 kB / 2.223 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/4.531, allocations: 0.896 MB / 2.224 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/4.534, allocations: 197 kB / 2.224 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/4.534, allocations: 58.09 kB / 2.224 GB, free: 227 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (90): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003537/4.534, allocations: 139.5 kB / 2.224 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00286/4.537, allocations: 0.9082 MB / 2.225 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/4.537, allocations: 134.9 kB / 2.225 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00385/4.541, allocations: 0.9903 MB / 2.226 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/4.541, allocations: 12.02 kB / 2.226 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/4.541, allocations: 4.188 kB / 2.226 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003194/4.544, allocations: 0.8982 MB / 2.227 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00752/4.552, allocations: 3.17 MB / 2.23 GB, free: 225.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/4.552, allocations: 3.875 kB / 2.23 GB, free: 225.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/4.553, allocations: 163 kB / 2.231 GB, free: 225.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006992/4.554, allocations: 269 kB / 2.231 GB, free: 225.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-05/4.554, allocations: 20.19 kB / 2.231 GB, free: 225.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/4.555, allocations: 0.8903 MB / 2.232 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/4.555, allocations: 8.188 kB / 2.232 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/4.56, allocations: 1.816 MB / 2.233 GB, free: 224.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/4.561, allocations: 377 kB / 2.234 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/4.561, allocations: 10.97 kB / 2.234 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/4.563, allocations: 135.7 kB / 2.234 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/4.563, allocations: 68.12 kB / 2.234 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.365e-05/4.563, allocations: 36.14 kB / 2.234 GB, free: 224.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001284/4.564, allocations: 0.7536 MB / 2.235 GB, free: 224 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/4.565, allocations: 3.25 kB / 2.235 GB, free: 224 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003725/4.568, allocations: 0.9859 MB / 2.236 GB, free: 223.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.006738/4.575, allocations: 4.175 MB / 2.24 GB, free: 221.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003154/4.578, allocations: 1.386 MB / 2.241 GB, free: 221.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/4.578, allocations: 2.438 kB / 2.241 GB, free: 221.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000824/4.579, allocations: 397 kB / 2.242 GB, free: 221.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/4.582, allocations: 0.5762 MB / 2.242 GB, free: 221.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/4.59, allocations: 2.379 MB / 2.244 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008164/4.591, allocations: 1.244 MB / 2.246 GB, free: 220.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002409/4.593, allocations: 408.3 kB / 2.246 GB, free: 220.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/4.594, allocations: 0.5456 MB / 2.247 GB, free: 220.1 MB / 1.151 GB Notification: Performance of SimCode: time 9.02e-07/4.594, allocations: 0 / 2.247 GB, free: 220.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08813/4.682, allocations: 45.78 MB / 2.291 GB, free: 219.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/4.682, allocations: 199.2 kB / 2.292 GB, free: 218.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.591/8.273, allocations: 1.969 kB / 2.292 GB, free: 218.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat