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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 109.2 kB / 15.99 MB, free: 6.367 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.001131/0.001131, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.492/1.492, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.667/1.667, allocations: 292.3 MB / 0.5492 GB, free: 13.57 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.001368/0.001368, allocations: 74.62 kB / 0.6716 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2475, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06297/0.3105, allocations: 69.3 MB / 0.8512 GB, free: 8.375 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02127/0.3318, allocations: 14.28 MB / 0.8651 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003817/0.3357, allocations: 63.56 kB / 0.8652 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.3386, allocations: 0.7928 MB / 0.866 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008035/0.3466, allocations: 2.367 MB / 0.8683 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005632/0.3523, allocations: 1.824 MB / 0.8701 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00722/0.3595, allocations: 4.614 MB / 0.8746 GB, free: 404 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003543/0.3631, allocations: 1.587 MB / 0.8761 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006336/0.3695, allocations: 1.78 MB / 0.8778 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003273/0.3728, allocations: 1.311 MB / 0.8791 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.374, allocations: 192 kB / 0.8793 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00693/0.3809, allocations: 1.945 MB / 0.8812 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.3823, allocations: 458.5 kB / 0.8816 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.385, allocations: 1.027 MB / 0.8826 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.3899, allocations: 2.725 MB / 0.8853 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3899, allocations: 0 / 0.8853 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3899, allocations: 4 kB / 0.8853 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001009/0.3901, allocations: 0 / 0.8853 GB, free: 5.324 MB / 0.7012 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.006099/0.3962, allocations: 2.302 MB / 0.8876 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3962, allocations: 8.031 kB / 0.8876 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/0.4018, allocations: 0.6502 MB / 0.8882 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/0.4052, allocations: 1.541 MB / 0.8897 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.4055, allocations: 128 kB / 0.8898 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.4058, allocations: 119.9 kB / 0.8899 GB, free: 456 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00478/0.4106, allocations: 1.626 MB / 0.8915 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.4107, allocations: 0 / 0.8915 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.4109, allocations: 55.94 kB / 0.8916 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.984e-05/0.411, allocations: 28 kB / 0.8916 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004824/0.4158, allocations: 1.425 MB / 0.893 GB, free: 13.21 MB / 0.7169 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.01205/0.4279, allocations: 7.171 MB / 0.9 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.4306, allocations: 0.7874 MB / 0.9008 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.4324, allocations: 486.8 kB / 0.9012 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/0.4342, allocations: 1.267 MB / 0.9025 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.574e-05/0.4343, allocations: 47.06 kB / 0.9025 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=68): time 4.248e-06/0.4343, allocations: 0 / 0.9025 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=68): time 0.01052/0.4449, allocations: 2.119 MB / 0.9046 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.445, allocations: 107.4 kB / 0.9047 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.4478, allocations: 1.363 MB / 0.906 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.4481, allocations: 41.7 kB / 0.9061 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007716/0.4489, allocations: 0.6841 MB / 0.9067 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.4492, allocations: 232.6 kB / 0.907 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/0.4496, allocations: 230.3 kB / 0.9072 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4498, allocations: 334 kB / 0.9075 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.4518, allocations: 488.5 kB / 0.908 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.4539, allocations: 0.7511 MB / 0.9087 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/0.4575, allocations: 1.098 MB / 0.9098 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.4575, allocations: 4 kB / 0.9098 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005031/0.4626, allocations: 1.499 MB / 0.9112 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.4626, allocations: 11.94 kB / 0.9112 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.4626, allocations: 8 kB / 0.9113 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.4643, allocations: 463.5 kB / 0.9117 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.4657, allocations: 239.6 kB / 0.9119 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.4673, allocations: 1.064 MB / 0.913 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.4698, allocations: 254.6 kB / 0.9132 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.47, allocations: 55.89 kB / 0.9133 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002479/0.4724, allocations: 0.7712 MB / 0.914 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002091/0.4746, allocations: 0.7394 MB / 0.9147 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003448/0.478, allocations: 1.086 MB / 0.9158 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.177e-06/0.478, allocations: 4 kB / 0.9158 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005097/0.4831, allocations: 1.508 MB / 0.9173 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4832, allocations: 8 kB / 0.9173 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4832, allocations: 4 kB / 0.9173 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.4848, allocations: 449 kB / 0.9177 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.4862, allocations: 247.6 kB / 0.9179 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.4878, allocations: 1.067 MB / 0.919 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.4904, allocations: 222 kB / 0.9192 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.4906, allocations: 51.95 kB / 0.9192 GB, free: 1.078 MB / 0.7325 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.0004485/0.491, allocations: 240 kB / 0.9195 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000597/0.4916, allocations: 150.2 kB / 0.9196 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5449/1.037, allocations: 1.268 MB / 0.9209 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/1.037, allocations: 7.109 kB / 0.9209 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.037, allocations: 0 / 0.9209 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003699/1.04, allocations: 1.088 MB / 0.9219 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008752/1.049, allocations: 3.365 MB / 0.9252 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.049, allocations: 3.062 kB / 0.9252 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009627/1.05, allocations: 143.8 kB / 0.9254 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/1.052, allocations: 447.8 kB / 0.9258 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/1.052, allocations: 24.69 kB / 0.9258 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/1.053, allocations: 1.054 MB / 0.9268 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.053, allocations: 5.375 kB / 0.9268 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/1.057, allocations: 1.351 MB / 0.9282 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008072/1.058, allocations: 353.6 kB / 0.9285 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/1.059, allocations: 15.53 kB / 0.9285 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/1.06, allocations: 143.7 kB / 0.9286 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/1.06, allocations: 55.98 kB / 0.9287 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.06, allocations: 43.17 kB / 0.9287 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001899/1.062, allocations: 0.9579 MB / 0.9297 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.062, allocations: 0 / 0.9297 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002629/1.065, allocations: 0.8911 MB / 0.9305 GB, free: 131.4 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 (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.001389/1.066, allocations: 0.5439 MB / 0.9311 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006787/1.073, allocations: 1.814 MB / 0.9328 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.073, allocations: 2.625 kB / 0.9329 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/1.075, allocations: 0.5163 MB / 0.9334 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/1.08, allocations: 0.8353 MB / 0.9342 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/1.086, allocations: 3.097 MB / 0.9372 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009939/1.087, allocations: 1.199 MB / 0.9384 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/1.088, allocations: 143.3 kB / 0.9385 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.088, allocations: 0 / 0.9385 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.05885/1.147, allocations: 35.65 MB / 0.9733 GB, free: 107.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)