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.275/2.275, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001061/0.001061, allocations: 184.8 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.51/1.51, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008439/0.0008439, allocations: 87.95 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.571e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3148, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.673, allocations: 436.2 MB / 1.645 GB, free: 14.24 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/1.674, allocations: 91.95 kB / 1.645 GB, free: 14.15 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.494/4.168, allocations: 0.5606 GB / 2.205 GB, free: 238.8 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.002e-06/4.168, allocations: 0 / 2.205 GB, free: 238.8 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001531/4.168, allocations: 43.38 kB / 2.206 GB, free: 238.8 MB / 1.135 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.00425/4.172, allocations: 1.899 MB / 2.207 GB, free: 238 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/4.172, allocations: 14.09 kB / 2.207 GB, free: 238 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/4.173, allocations: 177 kB / 2.208 GB, free: 238 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/4.177, allocations: 0.6159 MB / 2.208 GB, free: 237.9 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/4.181, allocations: 1.794 MB / 2.21 GB, free: 237.6 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/4.181, allocations: 127.3 kB / 2.21 GB, free: 237.5 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/4.181, allocations: 118.2 kB / 2.21 GB, free: 237.5 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/4.183, allocations: 1.447 MB / 2.212 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/4.183, allocations: 7.094 kB / 2.212 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/4.183, allocations: 57.39 kB / 2.212 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/4.183, allocations: 48.19 kB / 2.212 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/4.185, allocations: 1.093 MB / 2.213 GB, free: 237.2 MB / 1.135 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.009235/4.195, allocations: 6.771 MB / 2.219 GB, free: 234.4 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008354/4.195, allocations: 0.5345 MB / 2.22 GB, free: 234.4 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/4.196, allocations: 340.1 kB / 2.22 GB, free: 234.4 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/4.197, allocations: 1.263 MB / 2.221 GB, free: 233 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007355/4.198, allocations: 0.5257 MB / 2.222 GB, free: 232.8 MB / 1.135 GB Notification: Performance of pre-optimization done (n=65): time 3.016e-06/4.198, allocations: 0 / 2.222 GB, free: 232.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=65): time 0.001722/4.199, allocations: 0.8471 MB / 2.223 GB, free: 232.7 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/4.2, allocations: 484.7 kB / 2.223 GB, free: 232.1 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/4.201, allocations: 1.244 MB / 2.224 GB, free: 231.9 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/4.201, allocations: 43.92 kB / 2.224 GB, free: 231.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005574/4.202, allocations: 0.7067 MB / 2.225 GB, free: 231.7 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/4.202, allocations: 229.5 kB / 2.225 GB, free: 231.6 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/4.202, allocations: 18.09 kB / 2.225 GB, free: 231.6 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001078/4.202, allocations: 341.2 kB / 2.226 GB, free: 231.3 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/4.203, allocations: 325.9 kB / 2.226 GB, free: 231.3 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007319/4.204, allocations: 0.6403 MB / 2.227 GB, free: 230.9 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/4.204, allocations: 416.4 kB / 2.227 GB, free: 230.9 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/4.204, allocations: 0 / 2.227 GB, free: 230.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003343/4.208, allocations: 1.258 MB / 2.228 GB, free: 230.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004475/4.208, allocations: 2.531 MB / 2.231 GB, free: 228.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/4.208, allocations: 7.469 kB / 2.231 GB, free: 228.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/4.209, allocations: 333.2 kB / 2.231 GB, free: 228.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/4.211, allocations: 263.9 kB / 2.231 GB, free: 228.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007371/4.211, allocations: 0.8462 MB / 2.232 GB, free: 227.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/4.214, allocations: 289.6 kB / 2.232 GB, free: 227.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/4.214, allocations: 63.88 kB / 2.233 GB, free: 227.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/4.214, allocations: 6.688 kB / 2.233 GB, free: 227.6 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003012/4.217, allocations: 1.11 MB / 2.234 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/4.217, allocations: 7.75 kB / 2.234 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/4.218, allocations: 323.1 kB / 2.234 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/4.22, allocations: 271.8 kB / 2.234 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007342/4.22, allocations: 0.8404 MB / 2.235 GB, free: 227 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/4.223, allocations: 247.5 kB / 2.235 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/4.223, allocations: 63.75 kB / 2.235 GB, free: 226.9 MB / 1.135 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.0003808/4.223, allocations: 166.2 kB / 2.235 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/4.224, allocations: 152.7 kB / 2.236 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/4.226, allocations: 0.9369 MB / 2.237 GB, free: 226.6 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/4.226, allocations: 14.98 kB / 2.237 GB, free: 226.6 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/4.226, allocations: 3.25 kB / 2.237 GB, free: 226.6 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001919/4.228, allocations: 0.8159 MB / 2.237 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/4.234, allocations: 3.279 MB / 2.241 GB, free: 225.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/4.234, allocations: 3.562 kB / 2.241 GB, free: 225.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009268/4.235, allocations: 165.4 kB / 2.241 GB, free: 225.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009875/4.236, allocations: 323 kB / 2.241 GB, free: 225.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/4.236, allocations: 30.16 kB / 2.241 GB, free: 225.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006915/4.236, allocations: 0.845 MB / 2.242 GB, free: 224.8 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/4.236, allocations: 7.125 kB / 2.242 GB, free: 224.8 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/4.24, allocations: 1.808 MB / 2.244 GB, free: 224.1 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008913/4.24, allocations: 396 kB / 2.244 GB, free: 223.9 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/4.241, allocations: 25.97 kB / 2.244 GB, free: 223.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/4.242, allocations: 147.5 kB / 2.244 GB, free: 223.9 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/4.243, allocations: 65.55 kB / 2.244 GB, free: 223.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/4.243, allocations: 45.3 kB / 2.244 GB, free: 223.9 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001381/4.244, allocations: 0.9778 MB / 2.245 GB, free: 223.8 MB / 1.135 GB Notification: Performance of sort global known variables: time 9.32e-07/4.244, allocations: 0 / 2.245 GB, free: 223.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002854/4.247, allocations: 1.008 MB / 2.246 GB, free: 223.6 MB / 1.135 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.004706/4.252, allocations: 4.126 MB / 2.25 GB, free: 221.3 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.00267/4.254, allocations: 1.474 MB / 2.252 GB, free: 221.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/4.254, allocations: 7.719 kB / 2.252 GB, free: 221.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0008115/4.255, allocations: 408.7 kB / 2.252 GB, free: 221.1 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/4.259, allocations: 0.7865 MB / 2.253 GB, free: 221.1 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/4.266, allocations: 2.499 MB / 2.255 GB, free: 220.3 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/4.266, allocations: 1.246 MB / 2.257 GB, free: 219.6 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002413/4.269, allocations: 467.3 kB / 2.257 GB, free: 219.6 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/4.27, allocations: 0.5563 MB / 2.257 GB, free: 219.6 MB / 1.135 GB Notification: Performance of SimCode: time 1.092e-06/4.27, allocations: 0 / 2.257 GB, free: 219.6 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09552/4.365, allocations: 57.13 MB / 2.313 GB, free: 214.3 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/4.365, allocations: 248.3 kB / 2.314 GB, free: 214 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.819/8.185, allocations: 0 / 2.314 GB, free: 214 MB / 1.135 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