Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000928/0.0009281, allocations: 100.5 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.0008539/0.0008541, 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.261/1.261, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.63/1.63, allocations: 292.5 MB / 0.5497 GB, free: 14.59 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.0004816/0.0004817, allocations: 17.03 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.05929/0.2661, allocations: 58.55 MB / 0.8443 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.2841, allocations: 12.16 MB / 0.8562 GB, free: 5.066 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.2866, allocations: 55.62 kB / 0.8562 GB, free: 5.012 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.2897, allocations: 0.7928 MB / 0.857 GB, free: 4.215 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006808/0.2965, allocations: 2.189 MB / 0.8591 GB, free: 2.02 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005469/0.302, allocations: 1.907 MB / 0.861 GB, free: 148 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004544/0.3065, allocations: 2.662 MB / 0.8636 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.3084, allocations: 1.172 MB / 0.8647 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.3109, allocations: 1.281 MB / 0.866 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.3124, allocations: 0.8322 MB / 0.8668 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003059/0.3127, allocations: 68 kB / 0.8669 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.3158, allocations: 1.174 MB / 0.868 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.3162, allocations: 306.8 kB / 0.8683 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006427/0.3169, allocations: 400.8 kB / 0.8687 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.3206, allocations: 2.451 MB / 0.8711 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3206, allocations: 0 / 0.8711 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.789e-06/0.3206, allocations: 3.984 kB / 0.8711 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001042/0.3207, allocations: 0 / 0.8711 GB, free: 5.754 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004298/0.325, allocations: 1.966 MB / 0.873 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3251, allocations: 8.031 kB / 0.873 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.3299, allocations: 0.6926 MB / 0.8737 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.3328, allocations: 1.449 MB / 0.8751 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.333, allocations: 128 kB / 0.8752 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.3333, allocations: 124 kB / 0.8753 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/0.3373, allocations: 1.636 MB / 0.8769 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.3373, allocations: 7.938 kB / 0.877 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.3375, allocations: 52 kB / 0.877 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.3376, allocations: 35.98 kB / 0.877 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/0.3421, allocations: 1.496 MB / 0.8785 GB, free: 13.93 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.01087/0.353, allocations: 7.02 MB / 0.8854 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.3554, allocations: 0.7943 MB / 0.8861 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.3567, allocations: 1.271 MB / 0.8874 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/0.3587, allocations: 0.6558 MB / 0.888 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 4.979e-06/0.3587, allocations: 4 kB / 0.888 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.009837/0.3685, allocations: 2.162 MB / 0.8901 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.3687, allocations: 325 kB / 0.8904 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.3711, allocations: 1.414 MB / 0.8918 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.3713, allocations: 49.64 kB / 0.8919 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.3719, allocations: 0.6997 MB / 0.8925 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.3722, allocations: 236.6 kB / 0.8928 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-05/0.3723, allocations: 20 kB / 0.8928 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3725, allocations: 349.9 kB / 0.8931 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.3743, allocations: 0.5172 MB / 0.8936 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.3765, allocations: 0.8364 MB / 0.8944 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.3784, allocations: 0.5981 MB / 0.895 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3785, allocations: 4 kB / 0.895 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007572/0.386, allocations: 1.822 MB / 0.8968 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001049/0.3871, allocations: 2.514 MB / 0.8993 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.3871, allocations: 12.02 kB / 0.8993 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.3886, allocations: 378 kB / 0.8996 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.3901, allocations: 279.5 kB / 0.8999 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.3913, allocations: 0.9063 MB / 0.9008 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.3939, allocations: 302.5 kB / 0.9011 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.394, allocations: 55.95 kB / 0.9011 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.3941, allocations: 4 kB / 0.9011 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006999/0.4011, allocations: 1.677 MB / 0.9028 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.4011, allocations: 8 kB / 0.9028 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.4024, allocations: 377.5 kB / 0.9031 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.4038, allocations: 275.5 kB / 0.9034 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.4049, allocations: 0.9078 MB / 0.9043 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/0.4073, allocations: 262.8 kB / 0.9045 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.4074, allocations: 59.89 kB / 0.9046 GB, free: 2.035 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0009102/0.4083, allocations: 456.8 kB / 0.905 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/0.4088, allocations: 150.2 kB / 0.9052 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.4129, allocations: 1.266 MB / 0.9064 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.413, allocations: 11.95 kB / 0.9064 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.413, allocations: 4 kB / 0.9064 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003325/0.4163, allocations: 1.08 MB / 0.9075 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00772/0.424, allocations: 3.338 MB / 0.9107 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.4241, allocations: 8 kB / 0.9108 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009591/0.4251, allocations: 176 kB / 0.9109 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.4263, allocations: 360.1 kB / 0.9113 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-05/0.4264, allocations: 27.97 kB / 0.9113 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.4275, allocations: 0.9027 MB / 0.9122 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.4276, allocations: 8.062 kB / 0.9122 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005833/0.4334, allocations: 2.254 MB / 0.9144 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009565/0.4344, allocations: 406.8 kB / 0.9148 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004017/0.4348, allocations: 24 kB / 0.9148 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/0.4368, allocations: 164.6 kB / 0.9149 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.4369, allocations: 64.25 kB / 0.915 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.437, allocations: 39.95 kB / 0.915 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001905/0.4389, allocations: 1.021 MB / 0.916 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.439, allocations: 0 / 0.916 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003288/0.4423, allocations: 0.9085 MB / 0.9169 GB, free: 4.914 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.4435, allocations: 0.5588 MB / 0.9175 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006629/0.4502, allocations: 2.011 MB / 0.9194 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/0.4503, allocations: 4 kB / 0.9194 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.4522, allocations: 0.5683 MB / 0.92 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/0.4562, allocations: 0.7764 MB / 0.9208 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3254/0.7816, allocations: 3.161 MB / 0.9238 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.7824, allocations: 1.242 MB / 0.9251 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001901/0.7843, allocations: 371.9 kB / 0.9254 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.7847, allocations: 131.8 kB / 0.9255 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.7847, allocations: 2.312 kB / 0.9255 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.05361/0.8383, allocations: 36.94 MB / 0.9616 GB, free: 116.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: