Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.456/2.456, allocations: 390.5 MB / 398 MB, free: 11.02 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.001204/0.001204, allocations: 184.9 kB / 491.2 MB, free: 1.637 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.808/1.808, 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.001128/0.001129, allocations: 103 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.64e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3182, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.363/1.682, allocations: 434.8 MB / 1.637 GB, free: 12.02 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.682, allocations: 91.55 kB / 1.637 GB, free: 11.97 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.874/3.556, allocations: 0.5575 GB / 2.195 GB, free: 3.281 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.403e-06/3.556, allocations: 0 / 2.195 GB, free: 3.281 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000256/3.556, allocations: 39.98 kB / 2.195 GB, free: 3.242 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005589/3.562, allocations: 1.856 MB / 2.196 GB, free: 1.324 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/3.562, allocations: 12.03 kB / 2.196 GB, free: 1.312 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/3.566, allocations: 0.6144 MB / 2.197 GB, free: 0.6953 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7477/4.314, allocations: 1.769 MB / 2.199 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/4.314, allocations: 83.39 kB / 2.199 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002911/4.315, allocations: 75.28 kB / 2.199 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002475/4.317, allocations: 0.9999 MB / 2.2 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/4.32, allocations: 1.272 MB / 2.201 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/4.32, allocations: 1.062 kB / 2.201 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/4.32, allocations: 7.625 kB / 2.201 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/4.32, allocations: 56.25 kB / 2.201 GB, free: 237.2 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.01212/4.332, allocations: 6.701 MB / 2.208 GB, free: 234.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/4.334, allocations: 0.5525 MB / 2.208 GB, free: 234.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/4.334, allocations: 305.2 kB / 2.209 GB, free: 234.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/4.335, allocations: 1.267 MB / 2.21 GB, free: 232.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/4.335, allocations: 49 kB / 2.21 GB, free: 232.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=64): time 3.967e-06/4.335, allocations: 3.625 kB / 2.21 GB, free: 232.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.00351/4.339, allocations: 0.8732 MB / 2.211 GB, free: 232.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/4.339, allocations: 110.9 kB / 2.211 GB, free: 232.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/4.341, allocations: 0.9682 MB / 2.212 GB, free: 232.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001873/4.341, allocations: 31.8 kB / 2.212 GB, free: 232.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007794/4.342, allocations: 0.7168 MB / 2.213 GB, free: 232 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/4.342, allocations: 214.6 kB / 2.213 GB, free: 231.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/4.342, allocations: 0 / 2.213 GB, free: 231.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/4.343, allocations: 343.9 kB / 2.213 GB, free: 231.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/4.343, allocations: 287 kB / 2.213 GB, free: 231.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/4.344, allocations: 0.5634 MB / 2.214 GB, free: 231.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/4.346, allocations: 471.6 kB / 2.214 GB, free: 231.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/4.346, allocations: 1.875 kB / 2.214 GB, free: 231.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003629/4.35, allocations: 1.148 MB / 2.215 GB, free: 231.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004954/4.35, allocations: 2.465 MB / 2.218 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/4.35, allocations: 5.938 kB / 2.218 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000939/4.351, allocations: 361.6 kB / 2.218 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/4.353, allocations: 250.6 kB / 2.218 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/4.354, allocations: 1.067 MB / 2.22 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/4.357, allocations: 219 kB / 2.22 GB, free: 228 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/4.357, allocations: 60.33 kB / 2.22 GB, free: 228 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/4.357, allocations: 4 kB / 2.22 GB, free: 228 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003418/4.361, allocations: 0.9872 MB / 2.221 GB, free: 228 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/4.361, allocations: 6.469 kB / 2.221 GB, free: 228 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008472/4.361, allocations: 364.5 kB / 2.221 GB, free: 228 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/4.363, allocations: 234.8 kB / 2.221 GB, free: 228 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/4.364, allocations: 1.074 MB / 2.222 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/4.367, allocations: 182.2 kB / 2.223 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/4.367, allocations: 53.23 kB / 2.223 GB, free: 227.5 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003571/4.367, allocations: 134.4 kB / 2.223 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003074/4.37, allocations: 0.8716 MB / 2.224 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/4.371, allocations: 124.5 kB / 2.224 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/4.374, allocations: 0.9788 MB / 2.225 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/4.374, allocations: 7.672 kB / 2.225 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/4.374, allocations: 0.75 kB / 2.225 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002403/4.376, allocations: 0.8818 MB / 2.226 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007217/4.384, allocations: 2.914 MB / 2.228 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/4.384, allocations: 6.344 kB / 2.228 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000966/4.385, allocations: 156.3 kB / 2.229 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/4.385, allocations: 347.1 kB / 2.229 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/4.386, allocations: 14.81 kB / 2.229 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/4.388, allocations: 1.142 MB / 2.23 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/4.388, allocations: 4.797 kB / 2.23 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/4.391, allocations: 1.285 MB / 2.231 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009263/4.392, allocations: 368.7 kB / 2.232 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/4.392, allocations: 6.797 kB / 2.232 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/4.394, allocations: 124.8 kB / 2.232 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/4.394, allocations: 55.53 kB / 2.232 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/4.394, allocations: 45.28 kB / 2.232 GB, free: 224.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001249/4.395, allocations: 0.7375 MB / 2.233 GB, free: 224.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/4.395, allocations: 0 / 2.233 GB, free: 224.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004357/4.4, allocations: 0.9776 MB / 2.233 GB, free: 224.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006012/4.406, allocations: 3.545 MB / 2.237 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003342/4.409, allocations: 1.235 MB / 2.238 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/4.409, allocations: 1.094 kB / 2.238 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/4.411, allocations: 461.6 kB / 2.239 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/4.415, allocations: 0.5653 MB / 2.239 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/4.421, allocations: 2.074 MB / 2.241 GB, free: 221.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/4.422, allocations: 1.237 MB / 2.242 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002564/4.425, allocations: 372 kB / 2.243 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007657/4.426, allocations: 0.5237 MB / 2.243 GB, free: 221.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/4.426, allocations: 2.969 kB / 2.243 GB, free: 221.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08202/4.508, allocations: 45.04 MB / 2.287 GB, free: 220.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/4.508, allocations: 197.6 kB / 2.287 GB, free: 220 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.562/8.07, allocations: 0 / 2.287 GB, free: 220 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat