Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001019/0.001019, allocations: 188.8 kB / 487.4 MB, free: 5.047 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.522/1.522, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 98.44 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.223e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2876, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.45, allocations: 434.7 MB / 1.631 GB, free: 3.641 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.451, allocations: 90.7 kB / 1.631 GB, free: 3.598 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.809/3.26, allocations: 0.5579 GB / 2.189 GB, free: 13.25 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.505e-06/3.26, allocations: 4 kB / 2.189 GB, free: 13.24 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001407/3.26, allocations: 40 kB / 2.189 GB, free: 13.2 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.003764/3.264, allocations: 1.906 MB / 2.19 GB, free: 11.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/3.264, allocations: 12.02 kB / 2.19 GB, free: 11.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/3.268, allocations: 0.6183 MB / 2.191 GB, free: 10.59 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/3.271, allocations: 1.79 MB / 2.193 GB, free: 8.746 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.766e-05/3.271, allocations: 83.98 kB / 2.193 GB, free: 8.656 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/3.271, allocations: 75.89 kB / 2.193 GB, free: 8.582 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001766/3.273, allocations: 1.02 MB / 2.194 GB, free: 7.559 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/3.275, allocations: 1.275 MB / 2.195 GB, free: 6.191 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/3.275, allocations: 4 kB / 2.195 GB, free: 6.188 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/3.275, allocations: 4 kB / 2.195 GB, free: 6.184 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/3.275, allocations: 54.11 kB / 2.195 GB, free: 6.129 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.7393/4.015, allocations: 6.495 MB / 2.202 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/4.016, allocations: 0.5057 MB / 2.202 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/4.016, allocations: 319.9 kB / 2.202 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/4.018, allocations: 1.263 MB / 2.204 GB, free: 236.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009373/4.019, allocations: 0.5001 MB / 2.204 GB, free: 236.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 2.986e-06/4.019, allocations: 3.219 kB / 2.204 GB, free: 236.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.00346/4.022, allocations: 0.9075 MB / 2.205 GB, free: 236.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/4.022, allocations: 481.7 kB / 2.205 GB, free: 235.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/4.024, allocations: 0.9875 MB / 2.206 GB, free: 235.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/4.024, allocations: 33.62 kB / 2.206 GB, free: 235.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007421/4.025, allocations: 0.7316 MB / 2.207 GB, free: 235.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/4.025, allocations: 224 kB / 2.207 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/4.025, allocations: 0 / 2.207 GB, free: 235.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/4.025, allocations: 340.6 kB / 2.208 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/4.026, allocations: 313.6 kB / 2.208 GB, free: 234.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/4.027, allocations: 0.6093 MB / 2.209 GB, free: 234.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/4.029, allocations: 0.4918 MB / 2.209 GB, free: 234.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/4.029, allocations: 1.781 kB / 2.209 GB, free: 234.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005031/4.034, allocations: 1.263 MB / 2.21 GB, free: 234.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004706/4.034, allocations: 2.494 MB / 2.213 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/4.034, allocations: 5.5 kB / 2.213 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007113/4.035, allocations: 272.9 kB / 2.213 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/4.036, allocations: 264.6 kB / 2.213 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/4.038, allocations: 0.8933 MB / 2.214 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/4.04, allocations: 239.7 kB / 2.214 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/4.04, allocations: 55.92 kB / 2.214 GB, free: 231.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/4.04, allocations: 4.656 kB / 2.214 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004632/4.045, allocations: 1.113 MB / 2.216 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/4.045, allocations: 8.312 kB / 2.216 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/4.046, allocations: 273 kB / 2.216 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/4.047, allocations: 267.7 kB / 2.216 GB, free: 231.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/4.048, allocations: 0.888 MB / 2.217 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/4.051, allocations: 197.4 kB / 2.217 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/4.051, allocations: 62.81 kB / 2.217 GB, free: 230.6 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.0004022/4.051, allocations: 133.7 kB / 2.217 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003125/4.054, allocations: 0.9107 MB / 2.218 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/4.055, allocations: 134.1 kB / 2.218 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/4.059, allocations: 0.996 MB / 2.219 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/4.059, allocations: 8.844 kB / 2.219 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/4.059, allocations: 2.312 kB / 2.219 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003174/4.062, allocations: 0.8984 MB / 2.22 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007701/4.07, allocations: 3.172 MB / 2.223 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/4.07, allocations: 4.719 kB / 2.223 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009966/4.071, allocations: 165.2 kB / 2.223 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006019/4.071, allocations: 266.4 kB / 2.224 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/4.071, allocations: 16.94 kB / 2.224 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/4.072, allocations: 0.8904 MB / 2.225 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/4.073, allocations: 7.719 kB / 2.225 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/4.077, allocations: 1.816 MB / 2.226 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008864/4.078, allocations: 382.4 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/4.078, allocations: 10.34 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/4.08, allocations: 141.1 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/4.08, allocations: 61.03 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-05/4.08, allocations: 38.89 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001371/4.082, allocations: 0.7516 MB / 2.228 GB, free: 227.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/4.082, allocations: 0 / 2.228 GB, free: 227.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004018/4.086, allocations: 0.9935 MB / 2.229 GB, free: 227.5 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.006481/4.092, allocations: 4.179 MB / 2.233 GB, free: 225.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002857/4.095, allocations: 1.388 MB / 2.234 GB, free: 225.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/4.095, allocations: 2.594 kB / 2.234 GB, free: 225.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/4.096, allocations: 401.1 kB / 2.234 GB, free: 225.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/4.099, allocations: 0.5606 MB / 2.235 GB, free: 225.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007986/4.107, allocations: 2.383 MB / 2.237 GB, free: 224.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008877/4.108, allocations: 1.245 MB / 2.239 GB, free: 223.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002468/4.11, allocations: 416.2 kB / 2.239 GB, free: 223.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007349/4.111, allocations: 0.5473 MB / 2.239 GB, free: 223.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.42e-07/4.111, allocations: 0 / 2.239 GB, free: 223.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09923/4.21, allocations: 45.75 MB / 2.284 GB, free: 222.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/4.211, allocations: 203 kB / 2.284 GB, free: 222.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.529/7.739, allocations: 0 / 2.284 GB, free: 222.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat