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.0009494/0.0009534, allocations: 99.86 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.000868/0.000868, allocations: 177.3 kB / 15.95 MB, free: 216 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.353/1.353, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.611/1.611, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0004729/0.0004729, allocations: 14.03 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.05197/0.2586, allocations: 58.54 MB / 0.8443 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.2762, allocations: 12.05 MB / 0.856 GB, free: 5.227 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.2787, allocations: 59.56 kB / 0.8561 GB, free: 5.168 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.2819, allocations: 0.7811 MB / 0.8569 GB, free: 4.383 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007027/0.289, allocations: 2.176 MB / 0.859 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005632/0.2946, allocations: 1.904 MB / 0.8609 GB, free: 336 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005096/0.2997, allocations: 2.63 MB / 0.8634 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.302, allocations: 1.172 MB / 0.8646 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.3047, allocations: 1.253 MB / 0.8658 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.3063, allocations: 0.8166 MB / 0.8666 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.3065, allocations: 68 kB / 0.8667 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.3097, allocations: 1.174 MB / 0.8678 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.3101, allocations: 302.8 kB / 0.8681 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005161/0.3106, allocations: 400.8 kB / 0.8685 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003119/0.3137, allocations: 2.431 MB / 0.8708 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3137, allocations: 0 / 0.8708 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3137, allocations: 0 / 0.8708 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.3138, allocations: 4 kB / 0.8708 GB, free: 6.039 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.003627/0.3174, allocations: 1.912 MB / 0.8727 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3175, allocations: 12.03 kB / 0.8727 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005399/0.3229, allocations: 0.7393 MB / 0.8734 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.3265, allocations: 1.425 MB / 0.8748 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.3267, allocations: 132 kB / 0.875 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.3269, allocations: 119.9 kB / 0.8751 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.3308, allocations: 1.662 MB / 0.8767 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3309, allocations: 0 / 0.8767 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.331, allocations: 56 kB / 0.8768 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.3311, allocations: 35.98 kB / 0.8768 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004442/0.3355, allocations: 1.515 MB / 0.8783 GB, free: 14.2 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.009588/0.3451, allocations: 7.338 MB / 0.8854 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.3474, allocations: 0.8455 MB / 0.8863 GB, free: 5.621 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.3488, allocations: 1.278 MB / 0.8875 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.3488, allocations: 47.06 kB / 0.8876 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.565e-06/0.3488, allocations: 0 / 0.8876 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.02859/0.3774, allocations: 4.268 MB / 0.8917 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.3775, allocations: 111.4 kB / 0.8918 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.3797, allocations: 1.413 MB / 0.8932 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001622/0.3799, allocations: 41.7 kB / 0.8933 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006456/0.3805, allocations: 0.684 MB / 0.8939 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.3808, allocations: 236.5 kB / 0.8941 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.3809, allocations: 16 kB / 0.8942 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.381, allocations: 341.9 kB / 0.8945 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.3829, allocations: 0.5249 MB / 0.895 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.385, allocations: 0.7862 MB / 0.8958 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.387, allocations: 0.5692 MB / 0.8963 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.387, allocations: 0 / 0.8963 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005267/0.3923, allocations: 1.64 MB / 0.8979 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009448/0.3932, allocations: 2.495 MB / 0.9004 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.3933, allocations: 8 kB / 0.9004 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.3953, allocations: 0.5666 MB / 0.9009 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.3966, allocations: 251.6 kB / 0.9012 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.3985, allocations: 1.174 MB / 0.9023 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.401, allocations: 282.6 kB / 0.9026 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.4011, allocations: 51.95 kB / 0.9026 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4012, allocations: 4 kB / 0.9026 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004743/0.4059, allocations: 1.472 MB / 0.9041 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.4059, allocations: 7.953 kB / 0.9041 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.4078, allocations: 0.5623 MB / 0.9046 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.4091, allocations: 247.6 kB / 0.9049 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.411, allocations: 1.174 MB / 0.906 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.4132, allocations: 257.7 kB / 0.9063 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.4134, allocations: 63.88 kB / 0.9063 GB, free: 396 kB / 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: 2 ($PRE.heaPum.com.isOn,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 (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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008201/0.4142, allocations: 444.9 kB / 0.9067 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.4146, allocations: 146.2 kB / 0.9069 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/0.419, allocations: 1.403 MB / 0.9082 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.419, allocations: 4 kB / 0.9083 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.419, allocations: 0 / 0.9083 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003693/0.4227, allocations: 1.215 MB / 0.9094 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/0.4309, allocations: 3.539 MB / 0.9129 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.4309, allocations: 4 kB / 0.9129 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008681/0.4318, allocations: 155.9 kB / 0.913 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.4336, allocations: 0.554 MB / 0.9136 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/0.4337, allocations: 31.97 kB / 0.9136 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.4355, allocations: 1.158 MB / 0.9147 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4355, allocations: 11.94 kB / 0.9148 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00435/0.4399, allocations: 1.71 MB / 0.9164 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008754/0.4408, allocations: 402.9 kB / 0.9168 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/0.4411, allocations: 16 kB / 0.9168 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/0.4431, allocations: 167.7 kB / 0.917 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4432, allocations: 60.27 kB / 0.917 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.4434, allocations: 51.94 kB / 0.9171 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001832/0.4452, allocations: 0.9809 MB / 0.9181 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4452, allocations: 4 kB / 0.9181 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002928/0.4481, allocations: 0.9045 MB / 0.9189 GB, free: 2.945 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 (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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001422/0.4496, allocations: 0.5377 MB / 0.9195 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006931/0.4565, allocations: 1.913 MB / 0.9213 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/0.4566, allocations: 3.781 kB / 0.9213 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.3539/0.8105, allocations: 0.5416 MB / 0.9219 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/0.8147, allocations: 0.7726 MB / 0.9226 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.8216, allocations: 3.114 MB / 0.9257 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.8223, allocations: 1.239 MB / 0.9269 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001935/0.8243, allocations: 336.6 kB / 0.9272 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.8246, allocations: 126.2 kB / 0.9273 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.874e-06/0.8246, allocations: 0 / 0.9273 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.05739/0.882, allocations: 37.75 MB / 0.9642 GB, free: 116.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: