Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 183.4 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008887/0.0008886, allocations: 95.66 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003551, allocations: 11.06 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2453, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.0438/0.2892, allocations: 58.51 MB / 0.9573 GB, free: 5.207 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02106/0.3103, allocations: 12.41 MB / 0.9694 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/0.3136, allocations: 59.56 kB / 0.9695 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.3169, allocations: 0.7889 MB / 0.9702 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009619/0.3265, allocations: 2.176 MB / 0.9724 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007122/0.3337, allocations: 1.903 MB / 0.9742 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006637/0.3403, allocations: 2.605 MB / 0.9768 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.3428, allocations: 1.152 MB / 0.9779 GB, free: 76 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.3462, allocations: 1.253 MB / 0.9791 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.3482, allocations: 0.8088 MB / 0.9799 GB, free: 14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.3485, allocations: 68 kB / 0.98 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003797/0.3523, allocations: 1.264 MB / 0.9812 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.3527, allocations: 298.7 kB / 0.9815 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007481/0.3535, allocations: 396.8 kB / 0.9819 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.3581, allocations: 2.463 MB / 0.9843 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3581, allocations: 0 / 0.9843 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.816e-06/0.3581, allocations: 0 / 0.9843 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.671e-05/0.3582, allocations: 0 / 0.9843 GB, free: 9.516 MB / 0.6355 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.004595/0.3628, allocations: 1.951 MB / 0.9862 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3628, allocations: 12.03 kB / 0.9862 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002906/0.3631, allocations: 173.3 kB / 0.9863 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.3681, allocations: 0.6848 MB / 0.987 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.3711, allocations: 1.429 MB / 0.9884 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.3712, allocations: 128 kB / 0.9885 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.3714, allocations: 116 kB / 0.9886 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.3753, allocations: 1.614 MB / 0.9902 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.3753, allocations: 0 / 0.9902 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.3755, allocations: 56 kB / 0.9903 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.3755, allocations: 43.92 kB / 0.9903 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004394/0.3799, allocations: 1.46 MB / 0.9917 GB, free: 1.613 MB / 0.6355 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.01046/0.3904, allocations: 7.218 MB / 0.9988 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.3928, allocations: 0.8105 MB / 0.9996 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.3942, allocations: 1.271 MB / 1.001 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.3942, allocations: 43.12 kB / 1.001 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=68): time 4.719e-06/0.3942, allocations: 3.938 kB / 1.001 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68): time 0.009694/0.4039, allocations: 2.225 MB / 1.003 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/0.4041, allocations: 111.4 kB / 1.003 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.4066, allocations: 1.398 MB / 1.005 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.4067, allocations: 45.7 kB / 1.005 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007309/0.4075, allocations: 0.6803 MB / 1.005 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.4078, allocations: 240.5 kB / 1.005 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.4078, allocations: 16 kB / 1.005 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.408, allocations: 345.9 kB / 1.006 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.4098, allocations: 497.6 kB / 1.006 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.4118, allocations: 0.7705 MB / 1.007 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.4136, allocations: 0.5535 MB / 1.008 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4137, allocations: 0 / 1.008 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004721/0.4184, allocations: 1.546 MB / 1.009 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000983/0.4194, allocations: 2.492 MB / 1.012 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4194, allocations: 8 kB / 1.012 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.421, allocations: 442.8 kB / 1.012 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.4223, allocations: 263.5 kB / 1.012 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.4239, allocations: 1.071 MB / 1.013 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.4263, allocations: 278.9 kB / 1.013 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.4264, allocations: 51.95 kB / 1.014 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4264, allocations: 4 kB / 1.014 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004297/0.4308, allocations: 1.398 MB / 1.015 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4308, allocations: 7.953 kB / 1.015 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.4322, allocations: 439.8 kB / 1.015 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.4335, allocations: 255.6 kB / 1.016 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.435, allocations: 1.075 MB / 1.017 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.4373, allocations: 242.8 kB / 1.017 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.4374, allocations: 55.95 kB / 1.017 GB, free: 6.734 MB / 0.6667 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.0009185/0.4383, allocations: 454.3 kB / 1.017 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.4386, allocations: 150.2 kB / 1.017 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.4424, allocations: 1.317 MB / 1.019 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.4424, allocations: 8 kB / 1.019 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4424, allocations: 0 / 1.019 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003305/0.4458, allocations: 1.131 MB / 1.02 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007659/0.4534, allocations: 3.434 MB / 1.023 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.4535, allocations: 4 kB / 1.023 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/0.4544, allocations: 163.8 kB / 1.023 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.4558, allocations: 434.7 kB / 1.024 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.4559, allocations: 24.16 kB / 1.024 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.4574, allocations: 1.072 MB / 1.025 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/0.4574, allocations: 8.031 kB / 1.025 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004243/0.4617, allocations: 1.629 MB / 1.026 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.463, allocations: 394.9 kB / 1.027 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.4632, allocations: 19.98 kB / 1.027 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.4649, allocations: 155.9 kB / 1.027 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.4651, allocations: 52.33 kB / 1.027 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-05/0.4652, allocations: 43.95 kB / 1.027 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001969/0.4672, allocations: 0.9886 MB / 1.028 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4672, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003398/0.4706, allocations: 0.9357 MB / 1.029 GB, free: 9.848 MB / 0.6823 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.006361/0.477, allocations: 3.726 MB / 1.033 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006453/0.4835, allocations: 1.842 MB / 1.034 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.4835, allocations: 0 / 1.034 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.4854, allocations: 0.5409 MB / 1.035 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/0.4895, allocations: 0.7702 MB / 1.036 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009502/0.499, allocations: 8.184 MB / 1.044 GB, free: 10.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/0.4999, allocations: 1.234 MB / 1.045 GB, free: 9.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001974/0.5019, allocations: 350.3 kB / 1.045 GB, free: 8.816 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008231/0.5028, allocations: 0.5539 MB / 1.046 GB, free: 8.262 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/0.5028, allocations: 0 / 1.046 GB, free: 8.262 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5464/1.049, allocations: 49.13 MB / 1.094 GB, free: 125.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/1.049, allocations: 283.7 kB / 1.094 GB, free: 124.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.677/4.727, allocations: 0 / 1.094 GB, free: 124.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)