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.274/2.274, 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.001643/0.001643, allocations: 188.7 kB / 487.4 MB, free: 5.055 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.556/1.556, allocations: 221.5 MB / 0.7824 GB, free: 1.039 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.001073/0.001073, allocations: 99.72 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.909e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.407, allocations: 434 MB / 1.63 GB, free: 4.438 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.408, allocations: 90.02 kB / 1.63 GB, free: 4.395 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.696/3.104, allocations: 0.5575 GB / 2.187 GB, free: 14.42 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.784e-06/3.104, allocations: 8 kB / 2.187 GB, free: 14.41 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002315/3.104, allocations: 35.98 kB / 2.188 GB, free: 14.38 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.004569/3.109, allocations: 1.855 MB / 2.189 GB, free: 12.46 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/3.109, allocations: 8.031 kB / 2.189 GB, free: 12.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/3.113, allocations: 0.6145 MB / 2.19 GB, free: 11.84 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/3.116, allocations: 1.79 MB / 2.192 GB, free: 9.988 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.275e-05/3.116, allocations: 83.98 kB / 2.192 GB, free: 9.898 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/3.116, allocations: 71.95 kB / 2.192 GB, free: 9.828 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0017/3.118, allocations: 0.9964 MB / 2.193 GB, free: 8.828 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/3.12, allocations: 1.272 MB / 2.194 GB, free: 7.457 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/3.12, allocations: 7.938 kB / 2.194 GB, free: 7.449 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/3.12, allocations: 4 kB / 2.194 GB, free: 7.445 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/3.12, allocations: 46.14 kB / 2.194 GB, free: 7.398 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.007968/3.128, allocations: 6.717 MB / 2.201 GB, free: 372 kB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6999/3.828, allocations: 0.557 MB / 2.201 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007623/3.829, allocations: 308 kB / 2.202 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/3.83, allocations: 1.267 MB / 2.203 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/3.83, allocations: 47.39 kB / 2.203 GB, free: 238.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=64): time 2.775e-06/3.83, allocations: 0 / 2.203 GB, free: 238.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.003497/3.834, allocations: 0.8747 MB / 2.204 GB, free: 238.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/3.834, allocations: 111.2 kB / 2.204 GB, free: 238.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/3.835, allocations: 0.9621 MB / 2.205 GB, free: 238.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/3.836, allocations: 31.89 kB / 2.205 GB, free: 238.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006658/3.836, allocations: 0.7211 MB / 2.205 GB, free: 237.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/3.836, allocations: 213.2 kB / 2.206 GB, free: 237.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/3.837, allocations: 3.938 kB / 2.206 GB, free: 237.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/3.837, allocations: 335 kB / 2.206 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/3.837, allocations: 286.5 kB / 2.206 GB, free: 237.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/3.838, allocations: 0.5581 MB / 2.207 GB, free: 237.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/3.84, allocations: 473.5 kB / 2.207 GB, free: 237.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/3.84, allocations: 1.688 kB / 2.207 GB, free: 237.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003307/3.843, allocations: 1.148 MB / 2.208 GB, free: 237.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004518/3.844, allocations: 2.464 MB / 2.211 GB, free: 234.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/3.844, allocations: 6 kB / 2.211 GB, free: 234.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009356/3.844, allocations: 364.3 kB / 2.211 GB, free: 234.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/3.846, allocations: 243.4 kB / 2.211 GB, free: 234.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/3.847, allocations: 1.073 MB / 2.212 GB, free: 234 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/3.85, allocations: 217.9 kB / 2.213 GB, free: 234 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/3.85, allocations: 53.09 kB / 2.213 GB, free: 234 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/3.85, allocations: 4.219 kB / 2.213 GB, free: 234 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002893/3.853, allocations: 0.9948 MB / 2.214 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/3.853, allocations: 6.609 kB / 2.214 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008109/3.854, allocations: 362.8 kB / 2.214 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/3.855, allocations: 241.9 kB / 2.214 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/3.856, allocations: 1.066 MB / 2.215 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/3.858, allocations: 190.1 kB / 2.215 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/3.859, allocations: 58.25 kB / 2.215 GB, free: 233.4 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.0003405/3.859, allocations: 129.4 kB / 2.216 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002642/3.862, allocations: 0.8733 MB / 2.216 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/3.862, allocations: 122.6 kB / 2.217 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/3.865, allocations: 0.9759 MB / 2.218 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/3.865, allocations: 6.422 kB / 2.218 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/3.865, allocations: 8.297 kB / 2.218 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002226/3.867, allocations: 0.8821 MB / 2.218 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006256/3.873, allocations: 2.899 MB / 2.221 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/3.873, allocations: 4.219 kB / 2.221 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009505/3.874, allocations: 158.8 kB / 2.221 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008236/3.875, allocations: 354.8 kB / 2.222 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/3.875, allocations: 20.42 kB / 2.222 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/3.877, allocations: 1.136 MB / 2.223 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/3.877, allocations: 4.766 kB / 2.223 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/3.88, allocations: 1.294 MB / 2.224 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/3.881, allocations: 366.5 kB / 2.224 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/3.881, allocations: 5.219 kB / 2.224 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/3.883, allocations: 117.5 kB / 2.225 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/3.883, allocations: 60.95 kB / 2.225 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/3.883, allocations: 45.3 kB / 2.225 GB, free: 230.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00113/3.884, allocations: 0.7311 MB / 2.225 GB, free: 230.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.91e-07/3.884, allocations: 3.688 kB / 2.225 GB, free: 230.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003596/3.887, allocations: 0.9752 MB / 2.226 GB, free: 230.5 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.004466/3.892, allocations: 3.553 MB / 2.23 GB, free: 228.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002254/3.894, allocations: 1.233 MB / 2.231 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/3.894, allocations: 0 / 2.231 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/3.895, allocations: 451.6 kB / 2.231 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/3.898, allocations: 0.5779 MB / 2.232 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/3.903, allocations: 2.073 MB / 2.234 GB, free: 227.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/3.904, allocations: 1.235 MB / 2.235 GB, free: 227.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001941/3.906, allocations: 369.2 kB / 2.236 GB, free: 227.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/3.906, allocations: 0.5218 MB / 2.236 GB, free: 227 MB / 1.151 GB Notification: Performance of SimCode: time 2.114e-06/3.906, allocations: 0 / 2.236 GB, free: 227 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09775/4.004, allocations: 45.04 MB / 2.28 GB, free: 226.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/4.004, allocations: 196.1 kB / 2.28 GB, free: 226 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.398/7.403, allocations: 7.281 kB / 2.28 GB, free: 226 MB / 1.151 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