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.601/1.601, allocations: 251.5 MB / 266.7 MB, free: 11.08 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.001012/0.001012, allocations: 180.1 kB / 325.8 MB, free: 2.742 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.588/1.588, allocations: 205 MB / 0.576 GB, free: 21.01 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.0006989/0.0006989, allocations: 86.38 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 11.41 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1704, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.04522/0.2157, allocations: 69.13 MB / 0.9637 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.2365, allocations: 14.83 MB / 0.9782 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.2392, allocations: 59.62 kB / 0.9783 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.2418, allocations: 0.7576 MB / 0.979 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006729/0.2485, allocations: 2.323 MB / 0.9813 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.2535, allocations: 1.789 MB / 0.983 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006493/0.26, allocations: 5.807 MB / 0.9887 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.2622, allocations: 1.254 MB / 0.9899 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.2654, allocations: 1.443 MB / 0.9913 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.2675, allocations: 1.178 MB / 0.9925 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004064/0.2679, allocations: 68 kB / 0.9925 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.272, allocations: 1.825 MB / 0.9943 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005312/0.2725, allocations: 330.4 kB / 0.9946 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.2742, allocations: 0.8627 MB / 0.9955 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005648/0.2798, allocations: 3.4 MB / 0.9988 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2798, allocations: 0 / 0.9988 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2799, allocations: 0 / 0.9988 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.583e-05/0.28, allocations: 0 / 0.9988 GB, free: 10.73 MB / 0.6511 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.004641/0.2846, allocations: 1.979 MB / 1.001 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2847, allocations: 8.031 kB / 1.001 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003749/0.285, allocations: 181.5 kB / 1.001 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005104/0.2902, allocations: 0.6818 MB / 1.002 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.2927, allocations: 1.537 MB / 1.003 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.2929, allocations: 132 kB / 1.003 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.2931, allocations: 116 kB / 1.003 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.2967, allocations: 1.641 MB / 1.005 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.2967, allocations: 4 kB / 1.005 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.2969, allocations: 48 kB / 1.005 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.2969, allocations: 39.94 kB / 1.005 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004402/0.3013, allocations: 1.476 MB / 1.006 GB, free: 2.656 MB / 0.6511 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.009207/0.3105, allocations: 7.195 MB / 1.013 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.3128, allocations: 0.8177 MB / 1.014 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.3144, allocations: 0.5027 MB / 1.015 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.3157, allocations: 1.274 MB / 1.016 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.863e-05/0.3158, allocations: 47.11 kB / 1.016 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 3.166e-06/0.3158, allocations: 0 / 1.016 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.009843/0.3257, allocations: 2.244 MB / 1.018 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.3257, allocations: 115.4 kB / 1.018 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.3278, allocations: 1.366 MB / 1.02 GB, free: 4.348 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.3279, allocations: 41.7 kB / 1.02 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005916/0.3285, allocations: 0.6803 MB / 1.02 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.3287, allocations: 236.6 kB / 1.021 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3289, allocations: 73.67 kB / 1.021 GB, free: 3.301 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.329, allocations: 341.9 kB / 1.021 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.3308, allocations: 0.4899 MB / 1.021 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.3329, allocations: 0.7783 MB / 1.022 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/0.3363, allocations: 1.141 MB / 1.023 GB, free: 360 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3364, allocations: 8 kB / 1.023 GB, free: 352 kB / 0.6667 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004797/0.3412, allocations: 1.558 MB / 1.025 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.3413, allocations: 276.9 kB / 1.025 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3414, allocations: 15.94 kB / 1.025 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.3429, allocations: 435.1 kB / 1.026 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.3443, allocations: 259.6 kB / 1.026 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.3458, allocations: 1.079 MB / 1.027 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.3481, allocations: 270.9 kB / 1.027 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.3482, allocations: 59.94 kB / 1.027 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.3483, allocations: 4 kB / 1.027 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004374/0.3526, allocations: 1.402 MB / 1.029 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3527, allocations: 4 kB / 1.029 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.3541, allocations: 441.1 kB / 1.029 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.3554, allocations: 255.6 kB / 1.029 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.3569, allocations: 1.079 MB / 1.03 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.3589, allocations: 254.1 kB / 1.031 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.359, allocations: 51.95 kB / 1.031 GB, free: 8.793 MB / 0.6823 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.0007163/0.3597, allocations: 452.8 kB / 1.031 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.36, allocations: 138.3 kB / 1.031 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/0.3639, allocations: 1.32 MB / 1.032 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.3639, allocations: 11.98 kB / 1.032 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.364, allocations: 3.938 kB / 1.032 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00334/0.3673, allocations: 1.135 MB / 1.034 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007023/0.3743, allocations: 3.41 MB / 1.037 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3744, allocations: 4 kB / 1.037 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/0.3753, allocations: 159.9 kB / 1.037 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.3767, allocations: 431.1 kB / 1.037 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.3768, allocations: 23.97 kB / 1.037 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.3782, allocations: 1.072 MB / 1.039 GB, free: 372 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.3782, allocations: 8 kB / 1.039 GB, free: 364 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003804/0.382, allocations: 1.405 MB / 1.04 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.3826, allocations: 343 kB / 1.04 GB, free: 14.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.3828, allocations: 19.98 kB / 1.04 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.3844, allocations: 161.8 kB / 1.04 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.3845, allocations: 64.25 kB / 1.04 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/0.3846, allocations: 39.95 kB / 1.041 GB, free: 14.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001485/0.3861, allocations: 0.9574 MB / 1.041 GB, free: 13.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3861, allocations: 4 kB / 1.041 GB, free: 13.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002281/0.3884, allocations: 0.9279 MB / 1.042 GB, free: 12.36 MB / 0.698 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.005094/0.3935, allocations: 2.431 MB / 1.045 GB, free: 9.855 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005938/0.3995, allocations: 1.849 MB / 1.047 GB, free: 8.012 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.3995, allocations: 4 kB / 1.047 GB, free: 8.008 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.4012, allocations: 0.5412 MB / 1.047 GB, free: 7.465 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/0.4054, allocations: 0.8 MB / 1.048 GB, free: 6.676 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3461/0.7515, allocations: 13.09 MB / 1.061 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.7524, allocations: 1.204 MB / 1.062 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001822/0.7542, allocations: 344.7 kB / 1.062 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007849/0.755, allocations: 0.5634 MB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/0.755, allocations: 0 / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08595/0.841, allocations: 49.94 MB / 1.111 GB, free: 113.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.8413, allocations: 307.3 kB / 1.112 GB, free: 112.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.477/4.318, allocations: 0 / 1.112 GB, free: 112.9 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)