Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 112.9 kB / 15.99 MB, free: 6.348 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.001684/0.001684, allocations: 195.3 kB / 16.91 MB, free: 6.188 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.478/1.478, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.65/1.65, allocations: 292.3 MB / 0.5492 GB, free: 13.67 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.001357/0.001357, allocations: 67.36 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2462, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.06147/0.3077, allocations: 69.32 MB / 0.8512 GB, free: 8.344 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.3293, allocations: 14.19 MB / 0.8651 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004633/0.334, allocations: 63.62 kB / 0.8651 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.3378, allocations: 0.7928 MB / 0.8659 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007823/0.3456, allocations: 2.349 MB / 0.8682 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005556/0.3512, allocations: 1.836 MB / 0.87 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006613/0.3578, allocations: 4.622 MB / 0.8745 GB, free: 464 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002627/0.3605, allocations: 1.591 MB / 0.8761 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.3652, allocations: 1.771 MB / 0.8778 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.3676, allocations: 1.322 MB / 0.8791 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004404/0.368, allocations: 196 kB / 0.8793 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/0.3725, allocations: 1.945 MB / 0.8812 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006165/0.3731, allocations: 458.5 kB / 0.8816 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.3746, allocations: 1.027 MB / 0.8826 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.3788, allocations: 2.736 MB / 0.8853 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3788, allocations: 0 / 0.8853 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3788, allocations: 0 / 0.8853 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.713e-05/0.3788, allocations: 0 / 0.8853 GB, free: 5.363 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004488/0.3833, allocations: 2.314 MB / 0.8875 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3834, allocations: 11.97 kB / 0.8875 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/0.3891, allocations: 0.697 MB / 0.8882 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.3922, allocations: 1.537 MB / 0.8897 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.3923, allocations: 132 kB / 0.8899 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.3925, allocations: 124 kB / 0.89 GB, free: 428 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.3965, allocations: 1.661 MB / 0.8916 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.3966, allocations: 4 kB / 0.8916 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.3967, allocations: 55.94 kB / 0.8916 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.3968, allocations: 35.98 kB / 0.8917 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004666/0.4015, allocations: 1.48 MB / 0.8931 GB, free: 13.07 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.01044/0.4119, allocations: 7.272 MB / 0.9002 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.4143, allocations: 0.8098 MB / 0.901 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.416, allocations: 0.5027 MB / 0.9015 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.4173, allocations: 1.271 MB / 0.9028 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.4174, allocations: 47.72 kB / 0.9028 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 4.288e-06/0.4174, allocations: 0 / 0.9028 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.02868/0.446, allocations: 4.143 MB / 0.9068 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.4462, allocations: 111.4 kB / 0.9069 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.4484, allocations: 1.366 MB / 0.9083 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.4486, allocations: 45.7 kB / 0.9083 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/0.4493, allocations: 0.6686 MB / 0.909 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.4496, allocations: 256.4 kB / 0.9092 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.45, allocations: 222.3 kB / 0.9094 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4501, allocations: 338 kB / 0.9098 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.4521, allocations: 0.5122 MB / 0.9103 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.4542, allocations: 0.7745 MB / 0.911 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.4579, allocations: 1.137 MB / 0.9121 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4579, allocations: 3.938 kB / 0.9121 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005356/0.4633, allocations: 1.597 MB / 0.9137 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4634, allocations: 8 kB / 0.9137 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.4634, allocations: 8 kB / 0.9137 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/0.4654, allocations: 0.5712 MB / 0.9143 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.4667, allocations: 243.6 kB / 0.9145 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.4686, allocations: 1.162 MB / 0.9156 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/0.4712, allocations: 267.4 kB / 0.9159 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.4713, allocations: 55.95 kB / 0.9159 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00243/0.4737, allocations: 0.7991 MB / 0.9167 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002134/0.4759, allocations: 0.7751 MB / 0.9175 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003676/0.4796, allocations: 1.129 MB / 0.9186 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.4796, allocations: 0 / 0.9186 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005227/0.4848, allocations: 1.585 MB / 0.9201 GB, free: 204 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4849, allocations: 8 kB / 0.9201 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4849, allocations: 4 kB / 0.9201 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4188/0.9037, allocations: 0.5536 MB / 0.9207 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.9053, allocations: 239.2 kB / 0.9209 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.9073, allocations: 1.169 MB / 0.922 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/0.9101, allocations: 225.8 kB / 0.9223 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.9102, allocations: 53.62 kB / 0.9223 GB, free: 133.8 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.9106, allocations: 237.8 kB / 0.9225 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.9109, allocations: 144 kB / 0.9227 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/0.9156, allocations: 1.368 MB / 0.924 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.9156, allocations: 7.422 kB / 0.924 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.9156, allocations: 1.188 kB / 0.924 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00377/0.9194, allocations: 1.175 MB / 0.9252 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007327/0.9267, allocations: 3.463 MB / 0.9286 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.9268, allocations: 6.609 kB / 0.9286 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/0.9277, allocations: 144.5 kB / 0.9287 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/0.9294, allocations: 0.5485 MB / 0.9292 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.295e-05/0.9295, allocations: 27.42 kB / 0.9293 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.9312, allocations: 1.161 MB / 0.9304 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.9312, allocations: 9.047 kB / 0.9304 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.9355, allocations: 1.447 MB / 0.9318 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/0.9362, allocations: 353.6 kB / 0.9322 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.9364, allocations: 17.14 kB / 0.9322 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/0.9381, allocations: 148 kB / 0.9323 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.9383, allocations: 56.56 kB / 0.9324 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.9384, allocations: 44.83 kB / 0.9324 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001458/0.9399, allocations: 0.9571 MB / 0.9333 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.9399, allocations: 0 / 0.9333 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002341/0.9422, allocations: 0.9031 MB / 0.9342 GB, free: 129.6 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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.9434, allocations: 0.5341 MB / 0.9347 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007123/0.9506, allocations: 1.889 MB / 0.9366 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/0.9506, allocations: 4.75 kB / 0.9366 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.9527, allocations: 0.5399 MB / 0.9371 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/0.9567, allocations: 0.8428 MB / 0.9379 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007426/0.9642, allocations: 3.212 MB / 0.9411 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/0.965, allocations: 1.203 MB / 0.9423 GB, free: 126 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.9656, allocations: 148.3 kB / 0.9424 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/0.9656, allocations: 0 / 0.9424 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.04616/1.012, allocations: 35.8 MB / 0.9774 GB, free: 103 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)