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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009042, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009295/0.0009296, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.273/2.273, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 8 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6633, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06019/0.7235, allocations: 58.53 MB / 1.038 GB, free: 11.63 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.7437, allocations: 12.25 MB / 1.05 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.7466, allocations: 59.56 kB / 1.05 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.7501, allocations: 0.7928 MB / 1.051 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009064/0.7592, allocations: 2.227 MB / 1.053 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006579/0.7658, allocations: 1.9 MB / 1.055 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006105/0.7719, allocations: 2.655 MB / 1.057 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/0.7744, allocations: 1.176 MB / 1.059 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.778, allocations: 1.265 MB / 1.06 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.78, allocations: 0.8088 MB / 1.061 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003015/0.7803, allocations: 68 kB / 1.061 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.7844, allocations: 1.166 MB / 1.062 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005043/0.7849, allocations: 306.8 kB / 1.062 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007886/0.7857, allocations: 392.8 kB / 1.062 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003921/0.7896, allocations: 2.424 MB / 1.065 GB, free: 112 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7897, allocations: 0 / 1.065 GB, free: 112 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.956e-06/0.7897, allocations: 0 / 1.065 GB, free: 112 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.336e-05/0.7897, allocations: 0 / 1.065 GB, free: 112 kB / 0.8106 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.00415/0.7939, allocations: 1.924 MB / 1.067 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.7939, allocations: 12.03 kB / 1.067 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003163/0.7943, allocations: 177.3 kB / 1.067 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.7991, allocations: 0.6848 MB / 1.068 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.802, allocations: 1.441 MB / 1.069 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.8021, allocations: 124 kB / 1.069 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.8023, allocations: 124 kB / 1.069 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/0.8062, allocations: 1.634 MB / 1.071 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.8063, allocations: 3.938 kB / 1.071 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.8064, allocations: 52 kB / 1.071 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.8065, allocations: 36 kB / 1.071 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004563/0.811, allocations: 1.46 MB / 1.072 GB, free: 8.199 MB / 0.8262 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.01071/0.8218, allocations: 7.249 MB / 1.079 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.824, allocations: 0.8103 MB / 1.08 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.8254, allocations: 1.267 MB / 1.081 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.8255, allocations: 43.12 kB / 1.081 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.284e-06/0.8255, allocations: 0.5625 kB / 1.081 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.009668/0.8352, allocations: 2.221 MB / 1.084 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.8353, allocations: 111.4 kB / 1.084 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.8375, allocations: 1.398 MB / 1.085 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.8376, allocations: 49.69 kB / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005883/0.8382, allocations: 0.6919 MB / 1.086 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.8385, allocations: 232.7 kB / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.8385, allocations: 16 kB / 1.086 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8387, allocations: 341.9 kB / 1.086 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.8405, allocations: 0.4937 MB / 1.087 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.8424, allocations: 0.7588 MB / 1.088 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.8443, allocations: 0.5535 MB / 1.088 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.8443, allocations: 4 kB / 1.088 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004993/0.8493, allocations: 1.539 MB / 1.09 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.001227/0.8506, allocations: 2.489 MB / 1.092 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.8506, allocations: 4 kB / 1.092 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.8523, allocations: 456.6 kB / 1.093 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.8537, allocations: 263.5 kB / 1.093 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.8554, allocations: 1.091 MB / 1.094 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.8579, allocations: 270.5 kB / 1.094 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.8581, allocations: 51.95 kB / 1.094 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.8581, allocations: 4 kB / 1.094 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004779/0.8629, allocations: 1.398 MB / 1.096 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.8629, allocations: 8 kB / 1.096 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.8646, allocations: 456.6 kB / 1.096 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.866, allocations: 255.6 kB / 1.096 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.8676, allocations: 1.087 MB / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.8699, allocations: 247 kB / 1.098 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.8701, allocations: 51.95 kB / 1.098 GB, free: 13.26 MB / 0.8575 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 (82): * Single equations (assignments): 81 * 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.0009383/0.871, allocations: 456.8 kB / 1.098 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004801/0.8715, allocations: 138.5 kB / 1.098 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.8759, allocations: 1.321 MB / 1.099 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.876, allocations: 7.953 kB / 1.099 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.876, allocations: 0 / 1.099 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003512/0.8795, allocations: 1.135 MB / 1.101 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008567/0.8881, allocations: 3.457 MB / 1.104 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.8882, allocations: 4 kB / 1.104 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009428/0.8891, allocations: 155.8 kB / 1.104 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.8908, allocations: 448.2 kB / 1.105 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.8909, allocations: 23.97 kB / 1.105 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.8925, allocations: 1.068 MB / 1.106 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.8925, allocations: 4 kB / 1.106 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004263/0.8968, allocations: 1.63 MB / 1.107 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.8978, allocations: 402.9 kB / 1.108 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004001/0.8983, allocations: 19.94 kB / 1.108 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/0.9002, allocations: 166 kB / 1.108 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.9003, allocations: 60.3 kB / 1.108 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.9005, allocations: 43.89 kB / 1.108 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002237/0.9027, allocations: 0.9966 MB / 1.109 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9027, allocations: 0 / 1.109 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003799/0.9065, allocations: 0.8928 MB / 1.11 GB, free: 372 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (42): * Single equations (assignments): 39 * 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.006616/0.9132, allocations: 3.67 MB / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006605/0.9198, allocations: 1.841 MB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.9198, allocations: 0 / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.9218, allocations: 0.5374 MB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004325/0.9261, allocations: 0.7657 MB / 1.116 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.9366, allocations: 8.142 MB / 1.124 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/0.9376, allocations: 1.238 MB / 1.125 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001993/0.9396, allocations: 355.5 kB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008786/0.9405, allocations: 0.5578 MB / 1.126 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of SimCode: time 1.222e-06/0.9405, allocations: 0 / 1.126 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.188/3.128, allocations: 49.06 MB / 1.174 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/3.128, allocations: 273 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.689/6.818, allocations: 4.062 kB / 1.175 GB, free: 14.11 MB / 0.9356 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) Environment - environmentSimulation: 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