Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_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.0008124/0.0008124, allocations: 98.92 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.000823/0.000823, 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 3.2.3+maint.om/package.mo): time 1.188/1.188, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.916/1.916, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006497/0.0006501, allocations: 13.12 kB / 0.6736 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2861, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05982/0.346, allocations: 58.52 MB / 0.8444 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.3661, allocations: 12.14 MB / 0.8562 GB, free: 5.047 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/0.37, allocations: 59.56 kB / 0.8563 GB, free: 4.988 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.3739, allocations: 0.785 MB / 0.8571 GB, free: 4.199 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009592/0.3835, allocations: 2.175 MB / 0.8592 GB, free: 2.02 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006609/0.3901, allocations: 1.897 MB / 0.861 GB, free: 156 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005864/0.396, allocations: 2.641 MB / 0.8636 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.3987, allocations: 1.152 MB / 0.8647 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.402, allocations: 1.253 MB / 0.866 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.4041, allocations: 0.8049 MB / 0.8667 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005238/0.4046, allocations: 75.98 kB / 0.8668 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004829/0.4094, allocations: 1.166 MB / 0.868 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007412/0.4102, allocations: 302.8 kB / 0.8682 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.4113, allocations: 396.8 kB / 0.8686 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.4159, allocations: 2.42 MB / 0.871 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4159, allocations: 0 / 0.871 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.484e-06/0.4159, allocations: 4 kB / 0.871 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001137/0.4161, allocations: 0 / 0.871 GB, free: 5.898 MB / 0.6856 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.005107/0.4212, allocations: 1.908 MB / 0.8729 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4212, allocations: 12.03 kB / 0.8729 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004877/0.4217, allocations: 181.3 kB / 0.873 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/0.4269, allocations: 0.6847 MB / 0.8737 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.4303, allocations: 1.429 MB / 0.8751 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.4305, allocations: 128 kB / 0.8752 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003992/0.4309, allocations: 124 kB / 0.8753 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/0.4355, allocations: 1.619 MB / 0.8769 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.4356, allocations: 7.938 kB / 0.8769 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.4358, allocations: 52 kB / 0.877 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.762e-05/0.4358, allocations: 35.98 kB / 0.877 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005049/0.4409, allocations: 1.468 MB / 0.8785 GB, free: 14.01 MB / 0.7012 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.012/0.4529, allocations: 7.249 MB / 0.8855 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.4554, allocations: 0.8069 MB / 0.8863 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.4569, allocations: 1.271 MB / 0.8876 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.4569, allocations: 39.12 kB / 0.8876 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=68): time 5.18e-06/0.457, allocations: 7.984 kB / 0.8876 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of matching and sorting (n=68): time 0.01015/0.4671, allocations: 2.213 MB / 0.8898 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.4673, allocations: 111.4 kB / 0.8899 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/0.4703, allocations: 1.402 MB / 0.8912 GB, free: 180 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.4705, allocations: 41.7 kB / 0.8913 GB, free: 132 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008186/0.4714, allocations: 0.688 MB / 0.892 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.4717, allocations: 236.6 kB / 0.8922 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.4718, allocations: 20 kB / 0.8922 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4719, allocations: 341.9 kB / 0.8925 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.4738, allocations: 493.6 kB / 0.893 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.476, allocations: 0.7667 MB / 0.8937 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.478, allocations: 0.5419 MB / 0.8943 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.4781, allocations: 0 / 0.8943 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00543/0.4835, allocations: 1.558 MB / 0.8958 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001056/0.4846, allocations: 2.484 MB / 0.8982 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.4846, allocations: 8 kB / 0.8982 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.4864, allocations: 456.5 kB / 0.8987 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.4878, allocations: 259.7 kB / 0.8989 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.4893, allocations: 1.075 MB / 0.9 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.4918, allocations: 274.5 kB / 0.9002 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.4919, allocations: 55.94 kB / 0.9003 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.492, allocations: 8 kB / 0.9003 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004358/0.4963, allocations: 1.39 MB / 0.9016 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4964, allocations: 8 kB / 0.9016 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.4979, allocations: 472.1 kB / 0.9021 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.4992, allocations: 251.6 kB / 0.9023 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.5011, allocations: 1.083 MB / 0.9034 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.504, allocations: 246.8 kB / 0.9036 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.5042, allocations: 55.95 kB / 0.9037 GB, free: 3.074 MB / 0.7169 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.001169/0.5054, allocations: 452.8 kB / 0.9041 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/0.5058, allocations: 138.3 kB / 0.9042 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005111/0.5109, allocations: 1.329 MB / 0.9055 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.5109, allocations: 4 kB / 0.9055 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.511, allocations: 4 kB / 0.9056 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004321/0.5153, allocations: 1.123 MB / 0.9067 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.5256, allocations: 3.457 MB / 0.91 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.5257, allocations: 4 kB / 0.91 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5268, allocations: 163.9 kB / 0.9102 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.5288, allocations: 452.1 kB / 0.9106 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-05/0.5289, allocations: 23.97 kB / 0.9106 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.5308, allocations: 1.068 MB / 0.9117 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.5308, allocations: 11.94 kB / 0.9117 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/0.5361, allocations: 1.626 MB / 0.9133 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.5373, allocations: 398.9 kB / 0.9137 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.5376, allocations: 23.94 kB / 0.9137 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/0.5397, allocations: 155.7 kB / 0.9138 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.5399, allocations: 60.25 kB / 0.9139 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.54, allocations: 47.95 kB / 0.9139 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001943/0.542, allocations: 0.9847 MB / 0.9149 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.542, allocations: 0 / 0.9149 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003243/0.5453, allocations: 0.9007 MB / 0.9158 GB, free: 6.184 MB / 0.7325 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.005915/0.5512, allocations: 3.678 MB / 0.9194 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006224/0.5574, allocations: 1.838 MB / 0.9212 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.5575, allocations: 448 / 0.9212 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.5592, allocations: 0.5408 MB / 0.9217 GB, free: 4 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4874/1.047, allocations: 0.765 MB / 0.9224 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008625/1.055, allocations: 8.151 MB / 0.9304 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007677/1.056, allocations: 1.238 MB / 0.9316 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002079/1.058, allocations: 349.9 kB / 0.9319 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008251/1.059, allocations: 0.5527 MB / 0.9325 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/1.059, allocations: 0 / 0.9325 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.678/4.737, allocations: 49.22 MB / 0.9805 GB, free: 99.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/4.737, allocations: 264.1 kB / 0.9808 GB, free: 98.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.762/8.499, allocations: 3.281 kB / 0.9808 GB, free: 98.91 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: