Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009667/0.0009667, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006805/0.006805, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 252 MB / 0.5105 GB, free: 4.656 MB / 414.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.0004874/0.0004874, allocations: 12.56 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5105, allocations: 106.3 MB / 0.7287 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07078/0.5813, allocations: 68.28 MB / 0.7954 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02176/0.6031, allocations: 14.68 MB / 0.8097 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.6063, allocations: 59.62 kB / 0.8098 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.6096, allocations: 0.7498 MB / 0.8105 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009556/0.6192, allocations: 2.335 MB / 0.8128 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006963/0.6262, allocations: 1.801 MB / 0.8146 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009599/0.6358, allocations: 5.893 MB / 0.8203 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.6388, allocations: 1.277 MB / 0.8216 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.6428, allocations: 1.443 MB / 0.823 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.6455, allocations: 1.198 MB / 0.8241 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005441/0.6461, allocations: 68 kB / 0.8242 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004523/0.6506, allocations: 1.821 MB / 0.826 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006266/0.6513, allocations: 334.4 kB / 0.8263 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.6529, allocations: 0.8957 MB / 0.8272 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006016/0.659, allocations: 3.439 MB / 0.8305 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.659, allocations: 4 kB / 0.8305 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.659, allocations: 0 / 0.8305 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.558e-05/0.6591, allocations: 0 / 0.8305 GB, free: 2.879 MB / 0.6387 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.004344/0.6634, allocations: 2.029 MB / 0.8325 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.6635, allocations: 11.97 kB / 0.8325 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.6685, allocations: 0.6934 MB / 0.8332 GB, free: 72 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.6713, allocations: 1.545 MB / 0.8347 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.6715, allocations: 128 kB / 0.8348 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.6718, allocations: 132 kB / 0.835 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.6758, allocations: 1.64 MB / 0.8366 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.6759, allocations: 3.938 kB / 0.8366 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.6761, allocations: 52 kB / 0.8366 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/0.6761, allocations: 43.97 kB / 0.8367 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004865/0.681, allocations: 1.492 MB / 0.8381 GB, free: 10.88 MB / 0.6544 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.01077/0.6918, allocations: 6.992 MB / 0.8449 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.6942, allocations: 0.7983 MB / 0.8457 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.6959, allocations: 0.5029 MB / 0.8462 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.6973, allocations: 1.274 MB / 0.8475 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001992/0.6993, allocations: 0.6559 MB / 0.8481 GB, free: 15.98 MB / 0.67 GB Notification: Performance of pre-optimization done (n=69): time 3.216e-06/0.6994, allocations: 0 / 0.8481 GB, free: 15.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=69): time 0.01025/0.7096, allocations: 2.189 MB / 0.8502 GB, free: 13.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.7098, allocations: 325 kB / 0.8506 GB, free: 13.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.7119, allocations: 1.379 MB / 0.8519 GB, free: 11.98 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.7121, allocations: 45.7 kB / 0.8519 GB, free: 11.93 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005983/0.7127, allocations: 0.6997 MB / 0.8526 GB, free: 11.23 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.7129, allocations: 244.5 kB / 0.8529 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.7131, allocations: 81.67 kB / 0.8529 GB, free: 10.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7132, allocations: 341.9 kB / 0.8533 GB, free: 10.56 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.7152, allocations: 0.5211 MB / 0.8538 GB, free: 10.04 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.7174, allocations: 0.8442 MB / 0.8546 GB, free: 9.066 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.721, allocations: 1.212 MB / 0.8558 GB, free: 7.762 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.721, allocations: 4 kB / 0.8558 GB, free: 7.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006411/0.7274, allocations: 1.688 MB / 0.8574 GB, free: 6.051 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.7277, allocations: 306.4 kB / 0.8577 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.7277, allocations: 4 kB / 0.8577 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.7291, allocations: 351.3 kB / 0.8581 GB, free: 5.312 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.7306, allocations: 279.5 kB / 0.8583 GB, free: 5.039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.7319, allocations: 0.9036 MB / 0.8592 GB, free: 4.109 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/0.7346, allocations: 294.6 kB / 0.8595 GB, free: 3.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.7348, allocations: 59.94 kB / 0.8596 GB, free: 3.762 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.7348, allocations: 4 kB / 0.8596 GB, free: 3.758 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00599/0.7408, allocations: 1.541 MB / 0.8611 GB, free: 2.207 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.7409, allocations: 4.062 kB / 0.8611 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.7421, allocations: 363 kB / 0.8614 GB, free: 1.852 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.7436, allocations: 275.5 kB / 0.8617 GB, free: 1.582 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.7449, allocations: 0.902 MB / 0.8626 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.7474, allocations: 262.8 kB / 0.8628 GB, free: 408 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.7476, allocations: 55.95 kB / 0.8629 GB, free: 352 kB / 0.67 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 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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 (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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001072/0.7487, allocations: 456.8 kB / 0.8633 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/0.7492, allocations: 150.2 kB / 0.8634 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004497/0.7537, allocations: 1.281 MB / 0.8647 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/0.7537, allocations: 8 kB / 0.8647 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.7537, allocations: 0 / 0.8647 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003569/0.7573, allocations: 1.088 MB / 0.8658 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008499/0.7658, allocations: 3.33 MB / 0.869 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.7659, allocations: 4 kB / 0.869 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.7669, allocations: 168 kB / 0.8692 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.7683, allocations: 338.6 kB / 0.8695 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/0.7684, allocations: 35.89 kB / 0.8695 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.7696, allocations: 0.8941 MB / 0.8704 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.7696, allocations: 4 kB / 0.8704 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/0.7756, allocations: 1.969 MB / 0.8723 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.7768, allocations: 386.9 kB / 0.8727 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004823/0.7773, allocations: 31.98 kB / 0.8727 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/0.7793, allocations: 158.1 kB / 0.8729 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.7795, allocations: 64.23 kB / 0.8729 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.7796, allocations: 43.95 kB / 0.873 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002105/0.7817, allocations: 0.9899 MB / 0.8739 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7818, allocations: 0 / 0.8739 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003521/0.7853, allocations: 0.9397 MB / 0.8749 GB, free: 3.742 MB / 0.6856 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 (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 {(2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001645/0.7869, allocations: 0.5949 MB / 0.8754 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006916/0.7939, allocations: 2.015 MB / 0.8774 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.7939, allocations: 0 / 0.8774 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002025/0.7959, allocations: 0.5721 MB / 0.878 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/0.8011, allocations: 0.8248 MB / 0.8788 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/0.8075, allocations: 3.298 MB / 0.882 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000867/0.8084, allocations: 1.211 MB / 0.8832 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001976/0.8104, allocations: 378.9 kB / 0.8835 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.8108, allocations: 131.3 kB / 0.8837 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of SimCode: time 8.31e-07/0.8108, allocations: 0 / 0.8837 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of Templates: time 0.4499/1.261, allocations: 38.29 MB / 0.9211 GB, free: 161.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: