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.328/2.328, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001154/0.001154, allocations: 174.1 kB / 498.1 MB, free: 5.734 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.555/1.555, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009021/0.000902, allocations: 95.84 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 8.781 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2903, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.406, allocations: 435.4 MB / 1.648 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.407, allocations: 98.27 kB / 1.648 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.849/3.255, allocations: 0.5623 GB / 2.211 GB, free: 121.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/3.255, allocations: 0 / 2.211 GB, free: 121.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00026/3.256, allocations: 43.98 kB / 2.211 GB, free: 121.3 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007017/3.263, allocations: 2.177 MB / 2.213 GB, free: 119 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/3.263, allocations: 12.03 kB / 2.213 GB, free: 119 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008742/3.264, allocations: 177.4 kB / 2.213 GB, free: 118.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/3.268, allocations: 0.6144 MB / 2.214 GB, free: 118.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/3.272, allocations: 1.805 MB / 2.215 GB, free: 116.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/3.273, allocations: 135.9 kB / 2.215 GB, free: 116.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/3.273, allocations: 120 kB / 2.216 GB, free: 116.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003261/3.276, allocations: 1.627 MB / 2.217 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/3.276, allocations: 8 kB / 2.217 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/3.276, allocations: 55.94 kB / 2.217 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/3.276, allocations: 50.11 kB / 2.217 GB, free: 114.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003902/3.28, allocations: 1.464 MB / 2.219 GB, free: 112.8 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009077/3.289, allocations: 6.781 MB / 2.225 GB, free: 105.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/3.291, allocations: 0.7236 MB / 2.226 GB, free: 105 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/3.292, allocations: 1.267 MB / 2.227 GB, free: 103.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/3.294, allocations: 0.6725 MB / 2.228 GB, free: 102.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=65): time 3.086e-06/3.294, allocations: 3.938 kB / 2.228 GB, free: 102.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=65): time 0.01028/3.304, allocations: 2.303 MB / 2.23 GB, free: 100.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/3.304, allocations: 479.2 kB / 2.231 GB, free: 99.76 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/3.306, allocations: 1.287 MB / 2.232 GB, free: 98.47 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/3.307, allocations: 41.64 kB / 2.232 GB, free: 98.42 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/3.307, allocations: 0.719 MB / 2.233 GB, free: 97.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/3.307, allocations: 224.8 kB / 2.233 GB, free: 97.47 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/3.307, allocations: 16 kB / 2.233 GB, free: 97.46 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/3.307, allocations: 345.9 kB / 2.233 GB, free: 97.11 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/3.309, allocations: 0.4938 MB / 2.234 GB, free: 96.62 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/3.311, allocations: 0.8146 MB / 2.234 GB, free: 95.68 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/3.313, allocations: 0.5767 MB / 2.235 GB, free: 95.09 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/3.313, allocations: 0 / 2.235 GB, free: 95.09 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005913/3.319, allocations: 1.641 MB / 2.237 GB, free: 93.43 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004857/3.319, allocations: 2.522 MB / 2.239 GB, free: 90.77 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/3.319, allocations: 8 kB / 2.239 GB, free: 90.76 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/3.32, allocations: 368.9 kB / 2.239 GB, free: 90.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/3.322, allocations: 263.6 kB / 2.24 GB, free: 90.14 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/3.323, allocations: 0.9017 MB / 2.241 GB, free: 89.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/3.326, allocations: 290.7 kB / 2.241 GB, free: 88.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/3.326, allocations: 59.94 kB / 2.241 GB, free: 88.87 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/3.326, allocations: 4 kB / 2.241 GB, free: 88.87 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005446/3.331, allocations: 1.485 MB / 2.242 GB, free: 87.37 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/3.331, allocations: 7.984 kB / 2.242 GB, free: 87.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/3.332, allocations: 373.8 kB / 2.243 GB, free: 87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/3.334, allocations: 267.5 kB / 2.243 GB, free: 86.74 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009587/3.335, allocations: 0.901 MB / 2.244 GB, free: 85.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/3.337, allocations: 250.8 kB / 2.244 GB, free: 85.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/3.337, allocations: 59.89 kB / 2.244 GB, free: 85.51 MB / 1.167 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 () * Number of clocked 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.001042/3.338, allocations: 457.6 kB / 2.245 GB, free: 85.05 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/3.339, allocations: 158.2 kB / 2.245 GB, free: 84.89 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/3.343, allocations: 1.255 MB / 2.246 GB, free: 83.62 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/3.343, allocations: 15.94 kB / 2.246 GB, free: 83.61 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/3.343, allocations: 4 kB / 2.246 GB, free: 83.61 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004344/3.348, allocations: 1.131 MB / 2.247 GB, free: 82.44 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008867/3.357, allocations: 3.588 MB / 2.251 GB, free: 78.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/3.357, allocations: 8.031 kB / 2.251 GB, free: 78.72 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009889/3.358, allocations: 163.7 kB / 2.251 GB, free: 78.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/3.359, allocations: 361.5 kB / 2.251 GB, free: 78.21 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/3.359, allocations: 31.95 kB / 2.251 GB, free: 78.18 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009188/3.36, allocations: 0.8896 MB / 2.252 GB, free: 77.27 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/3.36, allocations: 8.062 kB / 2.252 GB, free: 77.26 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006582/3.366, allocations: 2.281 MB / 2.254 GB, free: 74.74 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009492/3.367, allocations: 394.9 kB / 2.255 GB, free: 74.34 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/3.368, allocations: 27.98 kB / 2.255 GB, free: 74.31 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/3.369, allocations: 155.9 kB / 2.255 GB, free: 74.16 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/3.369, allocations: 72.23 kB / 2.255 GB, free: 74.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/3.37, allocations: 35.97 kB / 2.255 GB, free: 74.05 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001662/3.371, allocations: 1.022 MB / 2.256 GB, free: 73.03 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/3.371, allocations: 0 / 2.256 GB, free: 73.03 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00293/3.374, allocations: 1.006 MB / 2.257 GB, free: 72.02 MB / 1.167 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) * Number of clocked states: 0 () * 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.008633/3.383, allocations: 4.591 MB / 2.261 GB, free: 67.32 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006571/3.389, allocations: 1.925 MB / 2.263 GB, free: 65.37 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/3.389, allocations: 0 / 2.263 GB, free: 65.37 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/3.392, allocations: 0.5564 MB / 2.264 GB, free: 64.81 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/3.396, allocations: 0.7821 MB / 2.265 GB, free: 64.04 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/3.419, allocations: 13.75 MB / 2.278 GB, free: 49.79 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/3.42, allocations: 1.242 MB / 2.279 GB, free: 48.52 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002102/3.422, allocations: 384.1 kB / 2.28 GB, free: 48.14 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007839/3.422, allocations: 0.5734 MB / 2.28 GB, free: 47.56 MB / 1.167 GB Notification: Performance of SimCode: time 9.42e-07/3.423, allocations: 0 / 2.28 GB, free: 47.56 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6919/4.114, allocations: 54.86 MB / 2.334 GB, free: 258.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/4.115, allocations: 279.8 kB / 2.334 GB, free: 257.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.813/7.928, allocations: 3.688 kB / 2.334 GB, free: 257.8 MB / 1.167 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