Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001034, allocations: 169.6 kB / 326.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008343/0.0008342, allocations: 88.23 kB / 0.6803 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003263, allocations: 9.688 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2315, allocations: 105.4 MB / 0.8967 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.04696/0.2785, allocations: 69.16 MB / 0.9643 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02148/0.3, allocations: 14.73 MB / 0.9787 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003047/0.3031, allocations: 63.56 kB / 0.9787 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.3056, allocations: 0.7576 MB / 0.9795 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007218/0.3128, allocations: 2.319 MB / 0.9817 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004914/0.3177, allocations: 1.799 MB / 0.9835 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006661/0.3244, allocations: 5.823 MB / 0.9892 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.3262, allocations: 1.25 MB / 0.9904 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.3289, allocations: 1.454 MB / 0.9918 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.3302, allocations: 1.182 MB / 0.993 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.3304, allocations: 64 kB / 0.993 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.3341, allocations: 1.828 MB / 0.9948 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.3345, allocations: 322.5 kB / 0.9951 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009304/0.3354, allocations: 0.8667 MB / 0.996 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.3386, allocations: 2.689 MB / 0.9986 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3386, allocations: 0 / 0.9986 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3386, allocations: 0 / 0.9986 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.974e-05/0.3387, allocations: 4 kB / 0.9986 GB, free: 11.46 MB / 0.6511 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.003879/0.3425, allocations: 1.971 MB / 1.001 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3426, allocations: 12.03 kB / 1.001 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/0.3488, allocations: 0.7286 MB / 1.001 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.3518, allocations: 1.541 MB / 1.003 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.352, allocations: 136 kB / 1.003 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.3522, allocations: 116 kB / 1.003 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.356, allocations: 1.669 MB / 1.005 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.3561, allocations: 4 kB / 1.005 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3562, allocations: 48 kB / 1.005 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.3562, allocations: 47.81 kB / 1.005 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004412/0.3607, allocations: 1.527 MB / 1.006 GB, free: 3.43 MB / 0.6511 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.009826/0.3705, allocations: 7.291 MB / 1.013 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.3728, allocations: 0.8492 MB / 1.014 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.3745, allocations: 0.5256 MB / 1.015 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.3758, allocations: 1.274 MB / 1.016 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.3759, allocations: 39.12 kB / 1.016 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.575e-06/0.3759, allocations: 4 kB / 1.016 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.02807/0.4039, allocations: 4.311 MB / 1.02 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.404, allocations: 115.4 kB / 1.02 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/0.4067, allocations: 1.363 MB / 1.022 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.4069, allocations: 45.7 kB / 1.022 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006526/0.4075, allocations: 0.6803 MB / 1.022 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.4079, allocations: 236.6 kB / 1.023 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.408, allocations: 77.67 kB / 1.023 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4082, allocations: 341.9 kB / 1.023 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.4101, allocations: 0.5211 MB / 1.023 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.4124, allocations: 0.7979 MB / 1.024 GB, free: 80 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/0.4161, allocations: 1.18 MB / 1.025 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.4162, allocations: 4 kB / 1.025 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005222/0.4214, allocations: 1.636 MB / 1.027 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.4216, allocations: 288.6 kB / 1.027 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.4216, allocations: 8 kB / 1.027 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.4236, allocations: 0.5461 MB / 1.028 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.4249, allocations: 255.6 kB / 1.028 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.4268, allocations: 1.17 MB / 1.029 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.4293, allocations: 286.5 kB / 1.029 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.4294, allocations: 55.94 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.4295, allocations: 4 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004672/0.4341, allocations: 1.476 MB / 1.031 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.4342, allocations: 8 kB / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.4359, allocations: 0.5508 MB / 1.031 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.4372, allocations: 251.6 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.439, allocations: 1.174 MB / 1.033 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.4412, allocations: 250.9 kB / 1.033 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4414, allocations: 51.95 kB / 1.033 GB, free: 6.668 MB / 0.6823 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.000832/0.4422, allocations: 456.8 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004527/0.4427, allocations: 146.3 kB / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/0.4469, allocations: 1.413 MB / 1.035 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.447, allocations: 8 kB / 1.035 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.447, allocations: 0 / 1.035 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003598/0.4506, allocations: 1.222 MB / 1.036 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007803/0.4584, allocations: 3.485 MB / 1.04 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.4584, allocations: 7.938 kB / 1.04 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/0.4593, allocations: 152.1 kB / 1.04 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.461, allocations: 0.5374 MB / 1.04 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-05/0.4611, allocations: 27.97 kB / 1.04 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.4629, allocations: 1.177 MB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4629, allocations: 4 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/0.4671, allocations: 1.489 MB / 1.043 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007044/0.4678, allocations: 343.1 kB / 1.043 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/0.4682, allocations: 19.98 kB / 1.043 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/0.4701, allocations: 164.9 kB / 1.044 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.4702, allocations: 60.23 kB / 1.044 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-05/0.4703, allocations: 43.95 kB / 1.044 GB, free: 11.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001765/0.4721, allocations: 0.9613 MB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4721, allocations: 0 / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002922/0.475, allocations: 0.9318 MB / 1.045 GB, free: 9.656 MB / 0.698 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.00156/0.4766, allocations: 0.5821 MB / 1.046 GB, free: 9.078 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006469/0.4831, allocations: 1.921 MB / 1.048 GB, free: 7.156 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.4831, allocations: 4 kB / 1.048 GB, free: 7.152 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.485, allocations: 0.5574 MB / 1.048 GB, free: 6.598 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/0.4894, allocations: 0.8128 MB / 1.049 GB, free: 5.801 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006729/0.4961, allocations: 3.24 MB / 1.052 GB, free: 2.477 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008816/0.497, allocations: 1.207 MB / 1.054 GB, free: 1.242 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/0.4974, allocations: 139.3 kB / 1.054 GB, free: 1.105 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/0.4975, allocations: 0 / 1.054 GB, free: 1.105 MB / 0.698 GB Notification: Performance of Templates: time 0.4386/0.936, allocations: 35.68 MB / 1.089 GB, free: 134.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)