Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_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.0008887/0.0008887, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009488/0.0009486, allocations: 184.5 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.645/0.645, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 8.75 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 77.54 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.2873/0.4134, allocations: 68.18 MB / 0.6266 GB, free: 9.359 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01952/0.433, allocations: 14.48 MB / 0.6408 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.4355, allocations: 62.75 kB / 0.6408 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.4378, allocations: 0.7547 MB / 0.6416 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00663/0.4445, allocations: 2.349 MB / 0.6439 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.4492, allocations: 1.775 MB / 0.6456 GB, free: 10.92 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006293/0.4555, allocations: 5.866 MB / 0.6513 GB, free: 7.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.4575, allocations: 1.279 MB / 0.6526 GB, free: 6.867 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.4603, allocations: 1.428 MB / 0.654 GB, free: 6.086 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.4623, allocations: 1.185 MB / 0.6551 GB, free: 5.258 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000334/0.4626, allocations: 75.94 kB / 0.6552 GB, free: 5.184 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.4667, allocations: 1.735 MB / 0.6569 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005143/0.4672, allocations: 326.5 kB / 0.6572 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.4687, allocations: 0.8956 MB / 0.6581 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.4736, allocations: 3.345 MB / 0.6613 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4736, allocations: 0 / 0.6613 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4736, allocations: 4 kB / 0.6614 GB, free: 14.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.761e-05/0.4737, allocations: 0 / 0.6614 GB, free: 14.86 MB / 494.1 MB 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.003917/0.4776, allocations: 1.936 MB / 0.6632 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4777, allocations: 12.03 kB / 0.6633 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003344/0.478, allocations: 177.5 kB / 0.6634 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005035/0.483, allocations: 0.6895 MB / 0.6641 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.4856, allocations: 1.561 MB / 0.6656 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.4858, allocations: 124 kB / 0.6657 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.4859, allocations: 120 kB / 0.6659 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.4895, allocations: 1.646 MB / 0.6675 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.4896, allocations: 4 kB / 0.6675 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.4897, allocations: 48 kB / 0.6675 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.4897, allocations: 43.88 kB / 0.6676 GB, free: 8.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004436/0.4942, allocations: 1.472 MB / 0.669 GB, free: 6.789 MB / 494.1 MB 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.008899/0.5031, allocations: 7.203 MB / 0.676 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.5053, allocations: 0.8176 MB / 0.6768 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.5069, allocations: 0.4988 MB / 0.6773 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.5081, allocations: 1.267 MB / 0.6785 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.5081, allocations: 39.12 kB / 0.6786 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=68): time 3.747e-06/0.5081, allocations: 3.984 kB / 0.6786 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68): time 0.009473/0.5176, allocations: 2.256 MB / 0.6808 GB, free: 10 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.5177, allocations: 111.4 kB / 0.6809 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.5197, allocations: 1.367 MB / 0.6822 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/0.5198, allocations: 41.7 kB / 0.6823 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/0.5204, allocations: 0.6881 MB / 0.6829 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.5206, allocations: 240.5 kB / 0.6832 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.5207, allocations: 73.67 kB / 0.6832 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5209, allocations: 341.9 kB / 0.6836 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.5227, allocations: 0.4938 MB / 0.6841 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.5247, allocations: 0.7706 MB / 0.6848 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/0.5282, allocations: 1.144 MB / 0.6859 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.5282, allocations: 4 kB / 0.6859 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004782/0.533, allocations: 1.563 MB / 0.6875 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.5332, allocations: 272.6 kB / 0.6877 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5332, allocations: 8 kB / 0.6877 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/0.5348, allocations: 465.1 kB / 0.6882 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.5362, allocations: 263.5 kB / 0.6884 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.5377, allocations: 1.077 MB / 0.6895 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.54, allocations: 274.6 kB / 0.6897 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.5402, allocations: 59.95 kB / 0.6898 GB, free: 412 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.5402, allocations: 0 / 0.6898 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004843/0.5451, allocations: 1.398 MB / 0.6911 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.5451, allocations: 8.547 kB / 0.6912 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.5465, allocations: 459.6 kB / 0.6916 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.5479, allocations: 259.6 kB / 0.6918 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.5494, allocations: 1.075 MB / 0.6929 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.5515, allocations: 243.3 kB / 0.6931 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.5516, allocations: 55.94 kB / 0.6932 GB, free: 12.89 MB / 0.5137 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 (heaPum.com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0007641/0.5524, allocations: 444.8 kB / 0.6936 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.5528, allocations: 142.3 kB / 0.6937 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.5568, allocations: 1.33 MB / 0.695 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5568, allocations: 12.17 kB / 0.695 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5568, allocations: 3.938 kB / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003397/0.5602, allocations: 1.147 MB / 0.6962 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007501/0.5677, allocations: 3.434 MB / 0.6995 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.5678, allocations: 4.188 kB / 0.6995 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/0.5687, allocations: 155.8 kB / 0.6997 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.5701, allocations: 445.8 kB / 0.7001 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.5702, allocations: 27.97 kB / 0.7001 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.5717, allocations: 1.075 MB / 0.7012 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.5717, allocations: 11.94 kB / 0.7012 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/0.5755, allocations: 1.397 MB / 0.7026 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006839/0.5762, allocations: 386.9 kB / 0.7029 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.5765, allocations: 23.98 kB / 0.7029 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.5783, allocations: 155.8 kB / 0.7031 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5784, allocations: 60.19 kB / 0.7032 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-05/0.5785, allocations: 39.95 kB / 0.7032 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001544/0.58, allocations: 0.9693 MB / 0.7041 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.58, allocations: 0 / 0.7041 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002435/0.5825, allocations: 0.885 MB / 0.705 GB, free: 416 kB / 0.5137 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005165/0.5877, allocations: 2.376 MB / 0.7073 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006159/0.5938, allocations: 1.853 MB / 0.7091 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.5939, allocations: 3.781 kB / 0.7091 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.5957, allocations: 0.541 MB / 0.7097 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/0.6005, allocations: 0.8032 MB / 0.7104 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/0.6291, allocations: 13.15 MB / 0.7233 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008567/0.63, allocations: 1.207 MB / 0.7245 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001786/0.6318, allocations: 350.8 kB / 0.7248 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008266/0.6327, allocations: 0.5656 MB / 0.7254 GB, free: 10.86 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.6327, allocations: 0 / 0.7254 GB, free: 10.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09262/0.7253, allocations: 49.79 MB / 0.774 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.7256, allocations: 289.1 kB / 0.7743 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.575, allocations: 0 / 0.7743 GB, free: 9.324 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)