Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.63/1.63, allocations: 288.4 MB / 303.6 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000979/0.000979, allocations: 176.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 0.631 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008357/0.0008355, allocations: 96.95 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 15.83 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2056, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.054/0.2596, allocations: 64.5 MB / 1.043 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.2788, allocations: 13.38 MB / 1.056 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.2811, allocations: 63.62 kB / 1.056 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.2831, allocations: 0.6366 MB / 1.057 GB, free: 12.56 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006143/0.2893, allocations: 2.093 MB / 1.059 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.2936, allocations: 1.449 MB / 1.06 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00619/0.2998, allocations: 5.066 MB / 1.065 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.302, allocations: 1.269 MB / 1.067 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.3049, allocations: 1.404 MB / 1.068 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.3066, allocations: 1.124 MB / 1.069 GB, free: 104 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.3068, allocations: 68 kB / 1.069 GB, free: 36 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4465/0.7533, allocations: 1.646 MB / 1.071 GB, free: 30.42 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007318/0.7541, allocations: 313.9 kB / 1.071 GB, free: 30.42 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.7557, allocations: 0.8612 MB / 1.072 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.761, allocations: 2.646 MB / 1.074 GB, free: 30.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.761, allocations: 0 / 1.074 GB, free: 30.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/0.761, allocations: 0.9375 kB / 1.074 GB, free: 30.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.797e-05/0.7611, allocations: 0 / 1.074 GB, free: 30.31 MB / 0.6823 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.005142/0.7662, allocations: 1.948 MB / 1.076 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.7663, allocations: 9.281 kB / 1.076 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005774/0.7721, allocations: 0.7323 MB / 1.077 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003697/0.7758, allocations: 1.547 MB / 1.079 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.776, allocations: 128.4 kB / 1.079 GB, free: 28.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.7762, allocations: 118.4 kB / 1.079 GB, free: 28.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004688/0.7809, allocations: 1.672 MB / 1.08 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.781, allocations: 3.625 kB / 1.08 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.7812, allocations: 53.84 kB / 1.08 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.411e-05/0.7813, allocations: 36.81 kB / 1.08 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005516/0.7868, allocations: 1.52 MB / 1.082 GB, free: 28.37 MB / 0.6823 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.01206/0.7989, allocations: 7.306 MB / 1.089 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.8013, allocations: 0.8372 MB / 1.09 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.8031, allocations: 0.5261 MB / 1.09 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.8042, allocations: 1.261 MB / 1.092 GB, free: 23.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.8042, allocations: 49.69 kB / 1.092 GB, free: 23.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.916e-06/0.8043, allocations: 3.094 kB / 1.092 GB, free: 23.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.02914/0.8334, allocations: 4.308 MB / 1.096 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.8335, allocations: 110.9 kB / 1.096 GB, free: 22.83 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.8362, allocations: 1.356 MB / 1.097 GB, free: 22.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.8364, allocations: 44.67 kB / 1.097 GB, free: 22.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/0.8371, allocations: 0.6778 MB / 1.098 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.8374, allocations: 239.1 kB / 1.098 GB, free: 22.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.8374, allocations: 19.34 kB / 1.098 GB, free: 22.22 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.8375, allocations: 339.2 kB / 1.099 GB, free: 21.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.8396, allocations: 0.518 MB / 1.099 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.8418, allocations: 0.7894 MB / 1.1 GB, free: 21.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/0.8457, allocations: 1.182 MB / 1.101 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.8457, allocations: 5.312 kB / 1.101 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005605/0.8513, allocations: 1.628 MB / 1.103 GB, free: 21.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.8515, allocations: 279.5 kB / 1.103 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.8515, allocations: 7.344 kB / 1.103 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.8536, allocations: 0.5764 MB / 1.103 GB, free: 20.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.8551, allocations: 255.7 kB / 1.104 GB, free: 20.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.8571, allocations: 1.167 MB / 1.105 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/0.8602, allocations: 277 kB / 1.105 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.8604, allocations: 65.67 kB / 1.105 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8604, allocations: 9.281 kB / 1.105 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004791/0.8652, allocations: 1.464 MB / 1.107 GB, free: 20.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.8652, allocations: 11.09 kB / 1.107 GB, free: 20.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.867, allocations: 0.5721 MB / 1.107 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.8684, allocations: 247 kB / 1.107 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.8702, allocations: 1.165 MB / 1.109 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.873, allocations: 253.2 kB / 1.109 GB, free: 19.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.8732, allocations: 55.34 kB / 1.109 GB, free: 19.52 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 ($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.001098/0.8743, allocations: 454.3 kB / 1.109 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.8747, allocations: 145.4 kB / 1.109 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.8793, allocations: 1.409 MB / 1.111 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.8794, allocations: 11.19 kB / 1.111 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8794, allocations: 2.812 kB / 1.111 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003889/0.8833, allocations: 1.214 MB / 1.112 GB, free: 18.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00933/0.8927, allocations: 3.497 MB / 1.115 GB, free: 17.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.8927, allocations: 8.062 kB / 1.115 GB, free: 17.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009009/0.8936, allocations: 148.9 kB / 1.116 GB, free: 17.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.8956, allocations: 0.5565 MB / 1.116 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/0.8957, allocations: 28.14 kB / 1.116 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.8976, allocations: 1.171 MB / 1.117 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.8976, allocations: 2.656 kB / 1.117 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/0.9023, allocations: 1.484 MB / 1.119 GB, free: 16.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.9036, allocations: 400.5 kB / 1.119 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.9039, allocations: 18.69 kB / 1.119 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/0.9059, allocations: 161.5 kB / 1.119 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.906, allocations: 57.59 kB / 1.119 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.9061, allocations: 48.81 kB / 1.119 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001822/0.908, allocations: 0.9518 MB / 1.12 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.82e-07/0.908, allocations: 0 / 1.12 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003529/0.9115, allocations: 0.8911 MB / 1.121 GB, free: 16.29 MB / 0.6823 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.001491/0.913, allocations: 0.5274 MB / 1.122 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006631/0.9197, allocations: 1.906 MB / 1.124 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.9197, allocations: 1.375 kB / 1.124 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.9216, allocations: 0.5525 MB / 1.124 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005137/0.9268, allocations: 0.8034 MB / 1.125 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/0.9335, allocations: 3.112 MB / 1.128 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007452/0.9343, allocations: 1.21 MB / 1.129 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00197/0.9363, allocations: 332.1 kB / 1.129 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.9366, allocations: 123.1 kB / 1.13 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/0.9366, allocations: 0 / 1.13 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of Templates: time 0.05844/0.9951, allocations: 38.54 MB / 1.167 GB, free: 14.71 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)