Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001438/0.001438, allocations: 167.4 kB / 498.1 MB, free: 5.742 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.577/1.577, allocations: 223.2 MB / 0.7948 GB, free: 18.8 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.001115/0.001115, allocations: 109.4 kB / 0.9346 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 12.53 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.28, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.419, allocations: 434.7 MB / 1.647 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.419, allocations: 92.59 kB / 1.648 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.817/3.237, allocations: 0.5619 GB / 2.21 GB, free: 100.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.963e-06/3.237, allocations: 4 kB / 2.21 GB, free: 100.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002873/3.237, allocations: 39.98 kB / 2.21 GB, free: 100.4 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.007221/3.244, allocations: 2.115 MB / 2.212 GB, free: 98.26 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/3.244, allocations: 12.03 kB / 2.212 GB, free: 98.25 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006953/3.245, allocations: 181.3 kB / 2.212 GB, free: 98.06 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004908/3.25, allocations: 0.6144 MB / 2.212 GB, free: 97.45 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003966/3.254, allocations: 1.797 MB / 2.214 GB, free: 95.59 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/3.254, allocations: 128 kB / 2.214 GB, free: 95.46 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/3.254, allocations: 116 kB / 2.214 GB, free: 95.34 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/3.258, allocations: 1.616 MB / 2.216 GB, free: 93.62 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/3.258, allocations: 3.938 kB / 2.216 GB, free: 93.62 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/3.258, allocations: 56 kB / 2.216 GB, free: 93.57 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/3.258, allocations: 54.08 kB / 2.216 GB, free: 93.51 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/3.262, allocations: 1.441 MB / 2.217 GB, free: 92.06 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.00911/3.271, allocations: 6.991 MB / 2.224 GB, free: 84.73 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/3.273, allocations: 0.727 MB / 2.225 GB, free: 84 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/3.274, allocations: 1.271 MB / 2.226 GB, free: 82.45 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/3.274, allocations: 39.12 kB / 2.226 GB, free: 82.41 MB / 1.167 GB Notification: Performance of pre-optimization done (n=64): time 4.017e-06/3.274, allocations: 0 / 2.226 GB, free: 82.41 MB / 1.167 GB Notification: Performance of matching and sorting (n=64): time 0.01093/3.285, allocations: 2.385 MB / 2.229 GB, free: 79.99 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/3.285, allocations: 115.4 kB / 2.229 GB, free: 79.85 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/3.288, allocations: 1.27 MB / 2.23 GB, free: 78.57 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/3.288, allocations: 37.7 kB / 2.23 GB, free: 78.53 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/3.288, allocations: 0.7075 MB / 2.231 GB, free: 77.82 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/3.288, allocations: 224.8 kB / 2.231 GB, free: 77.59 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/3.289, allocations: 20 kB / 2.231 GB, free: 77.57 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.118e-05/3.289, allocations: 333.9 kB / 2.231 GB, free: 77.24 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/3.29, allocations: 477.6 kB / 2.232 GB, free: 76.77 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/3.292, allocations: 0.7475 MB / 2.232 GB, free: 75.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/3.294, allocations: 0.5174 MB / 2.233 GB, free: 75.39 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/3.294, allocations: 4 kB / 2.233 GB, free: 75.38 MB / 1.167 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004385/3.298, allocations: 1.467 MB / 2.234 GB, free: 73.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005719/3.299, allocations: 2.497 MB / 2.237 GB, free: 71.27 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/3.299, allocations: 8 kB / 2.237 GB, free: 71.26 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/3.3, allocations: 461.6 kB / 2.237 GB, free: 70.81 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/3.302, allocations: 247.7 kB / 2.238 GB, free: 70.57 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/3.303, allocations: 1.079 MB / 2.239 GB, free: 69.46 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/3.306, allocations: 278.5 kB / 2.239 GB, free: 69.19 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/3.306, allocations: 47.95 kB / 2.239 GB, free: 69.14 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/3.306, allocations: 5.094 kB / 2.239 GB, free: 69.14 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003961/3.31, allocations: 1.326 MB / 2.24 GB, free: 67.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/3.31, allocations: 4 kB / 2.24 GB, free: 67.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/3.311, allocations: 456.3 kB / 2.241 GB, free: 67.36 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/3.313, allocations: 243.6 kB / 2.241 GB, free: 67.12 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/3.314, allocations: 1.071 MB / 2.242 GB, free: 66.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/3.316, allocations: 239.1 kB / 2.242 GB, free: 65.79 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/3.316, allocations: 51.95 kB / 2.242 GB, free: 65.74 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0009604/3.317, allocations: 448.9 kB / 2.243 GB, free: 65.29 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/3.317, allocations: 150.2 kB / 2.243 GB, free: 65.14 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/3.321, allocations: 1.228 MB / 2.244 GB, free: 63.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/3.321, allocations: 7.984 kB / 2.244 GB, free: 63.89 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/3.321, allocations: 0 / 2.244 GB, free: 63.89 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002975/3.324, allocations: 1.104 MB / 2.245 GB, free: 62.75 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007028/3.331, allocations: 3.307 MB / 2.248 GB, free: 59.25 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/3.331, allocations: 4 kB / 2.248 GB, free: 59.24 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/3.332, allocations: 159.9 kB / 2.248 GB, free: 59.09 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/3.333, allocations: 445 kB / 2.249 GB, free: 58.65 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/3.333, allocations: 27.97 kB / 2.249 GB, free: 58.62 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/3.334, allocations: 1.052 MB / 2.25 GB, free: 57.54 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/3.335, allocations: 8.062 kB / 2.25 GB, free: 57.54 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/3.338, allocations: 1.561 MB / 2.251 GB, free: 55.81 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008275/3.339, allocations: 379 kB / 2.252 GB, free: 55.42 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/3.339, allocations: 23.98 kB / 2.252 GB, free: 55.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/3.341, allocations: 139.7 kB / 2.252 GB, free: 55.26 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/3.341, allocations: 60.25 kB / 2.252 GB, free: 55.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/3.341, allocations: 39.95 kB / 2.252 GB, free: 55.16 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001487/3.342, allocations: 0.9968 MB / 2.253 GB, free: 54.16 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/3.342, allocations: 0 / 2.253 GB, free: 54.16 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002771/3.345, allocations: 0.9786 MB / 2.254 GB, free: 53.18 MB / 1.167 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) * Number of clocked states: 0 () * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.005761/3.351, allocations: 3.824 MB / 2.258 GB, free: 49.25 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00562/3.357, allocations: 1.735 MB / 2.259 GB, free: 47.52 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/3.357, allocations: 4.438 kB / 2.259 GB, free: 47.52 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/3.358, allocations: 0.5173 MB / 2.26 GB, free: 47 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/3.362, allocations: 0.7676 MB / 2.261 GB, free: 46.24 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/3.381, allocations: 13.24 MB / 2.274 GB, free: 32.52 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/3.382, allocations: 1.238 MB / 2.275 GB, free: 31.25 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001836/3.384, allocations: 335.8 kB / 2.275 GB, free: 30.91 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006562/3.384, allocations: 0.5617 MB / 2.276 GB, free: 30.35 MB / 1.167 GB Notification: Performance of SimCode: time 9.32e-07/3.384, allocations: 0 / 2.276 GB, free: 30.35 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6948/4.079, allocations: 53.94 MB / 2.328 GB, free: 246.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/4.079, allocations: 269.4 kB / 2.329 GB, free: 245.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.612/7.691, allocations: 0 / 2.329 GB, free: 245.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat