Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002127/0.002126, allocations: 187.3 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.9115/0.9115, allocations: 82.94 MB / 99.43 MB, free: 2.246 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 325.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 94.75 kB / 393.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004637, allocations: 12 kB / 471.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4002, allocations: 67.43 MB / 0.5263 GB, free: 55.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.137/0.5372, allocations: 109.4 MB / 0.6331 GB, free: 5.301 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.04121/0.5785, allocations: 21.1 MB / 0.6537 GB, free: 172 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005176/0.5837, allocations: 115.2 kB / 0.6539 GB, free: 56 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006013/0.5898, allocations: 1.457 MB / 0.6553 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01612/0.6059, allocations: 4.083 MB / 0.6593 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01329/0.6192, allocations: 3.15 MB / 0.6623 GB, free: 7.383 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01181/0.6311, allocations: 5.075 MB / 0.6673 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004941/0.636, allocations: 2.274 MB / 0.6695 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006802/0.6429, allocations: 2.433 MB / 0.6719 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003528/0.6465, allocations: 1.575 MB / 0.6734 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007722/0.6473, allocations: 132 kB / 0.6736 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006811/0.6541, allocations: 1.744 MB / 0.6753 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.6554, allocations: 0.5719 MB / 0.6758 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.657, allocations: 0.7304 MB / 0.6765 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00881/0.6659, allocations: 4.578 MB / 0.681 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.823e-06/0.6659, allocations: 4 kB / 0.681 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.864e-06/0.6659, allocations: 0 / 0.681 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.909e-05/0.666, allocations: 3.938 kB / 0.681 GB, free: 4.172 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008437/0.6745, allocations: 3.363 MB / 0.6843 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6746, allocations: 8.031 kB / 0.6843 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.6875, allocations: 1.455 MB / 0.6857 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007133/0.6947, allocations: 2.698 MB / 0.6884 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/0.6951, allocations: 255.9 kB / 0.6886 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006909/0.6958, allocations: 236 kB / 0.6888 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.7068, allocations: 3.197 MB / 0.6919 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.76e-05/0.7069, allocations: 11.94 kB / 0.692 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004275/0.7074, allocations: 104 kB / 0.6921 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.7075, allocations: 72 kB / 0.6921 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.7206, allocations: 2.881 MB / 0.6949 GB, free: 5.508 MB / 0.5105 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.3385/1.059, allocations: 13.54 MB / 0.7082 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00585/1.065, allocations: 1.523 MB / 0.7096 GB, free: 145 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/1.067, allocations: 1.782 MB / 0.7114 GB, free: 143 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005119/1.072, allocations: 1.236 MB / 0.7126 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 7.248e-06/1.072, allocations: 0 / 0.7126 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130): time 0.04589/1.118, allocations: 5.984 MB / 0.7184 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/1.118, allocations: 0.5762 MB / 0.719 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005625/1.124, allocations: 2.578 MB / 0.7215 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004565/1.124, allocations: 67.14 kB / 0.7216 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.126, allocations: 1.347 MB / 0.7229 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006775/1.126, allocations: 462.9 kB / 0.7233 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/1.127, allocations: 35.22 kB / 0.7234 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.127, allocations: 380.9 kB / 0.7237 GB, free: 138 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005255/1.132, allocations: 1.014 MB / 0.7247 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005589/1.138, allocations: 1.614 MB / 0.7263 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005155/1.143, allocations: 1.151 MB / 0.7274 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/1.143, allocations: 3.438 kB / 0.7274 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02572/1.169, allocations: 4.143 MB / 0.7315 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00105/1.17, allocations: 5.022 MB / 0.7364 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/1.17, allocations: 12.38 kB / 0.7364 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/1.174, allocations: 0.964 MB / 0.7373 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/1.178, allocations: 0.5027 MB / 0.7378 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/1.181, allocations: 1.986 MB / 0.7398 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005953/1.187, allocations: 0.5485 MB / 0.7403 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00053/1.188, allocations: 109.6 kB / 0.7404 GB, free: 126 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.188, allocations: 3.938 kB / 0.7404 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02384/1.212, allocations: 3.859 MB / 0.7442 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.597e-05/1.212, allocations: 15.17 kB / 0.7442 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004125/1.216, allocations: 0.956 MB / 0.7451 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/1.22, allocations: 0.5041 MB / 0.7456 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/1.223, allocations: 1.99 MB / 0.7476 GB, free: 122 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005624/1.229, allocations: 484.2 kB / 0.748 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006805/1.23, allocations: 108.6 kB / 0.7481 GB, free: 121.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002496/1.232, allocations: 0.7014 MB / 0.7488 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008024/1.233, allocations: 271 kB / 0.7491 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.247, allocations: 2.574 MB / 0.7516 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-05/1.247, allocations: 16 kB / 0.7516 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.247, allocations: 0 / 0.7516 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01168/1.258, allocations: 2.186 MB / 0.7537 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02968/1.288, allocations: 7.606 MB / 0.7612 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/1.288, allocations: 4 kB / 0.7612 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.29, allocations: 300.2 kB / 0.7614 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003972/1.294, allocations: 0.9417 MB / 0.7624 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/1.295, allocations: 51.94 kB / 0.7624 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00356/1.298, allocations: 1.983 MB / 0.7644 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/1.298, allocations: 9.25 kB / 0.7644 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.312, allocations: 4.455 MB / 0.7687 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/1.314, allocations: 0.6924 MB / 0.7694 GB, free: 99.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000561/1.315, allocations: 35.98 kB / 0.7694 GB, free: 99.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004091/1.319, allocations: 295.5 kB / 0.7697 GB, free: 99.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/1.319, allocations: 124.6 kB / 0.7698 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/1.32, allocations: 75.92 kB / 0.7699 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003755/1.323, allocations: 1.809 MB / 0.7717 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.016e-06/1.323, allocations: 2.516 kB / 0.7717 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00633/1.33, allocations: 1.706 MB / 0.7733 GB, free: 95.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/1.332, allocations: 0.8261 MB / 0.7741 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01557/1.347, allocations: 3.76 MB / 0.7778 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/1.347, allocations: 8.422 kB / 0.7778 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0075/1.355, allocations: 1.103 MB / 0.7789 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/1.366, allocations: 1.39 MB / 0.7803 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/1.379, allocations: 5.958 MB / 0.7861 GB, free: 82.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.381, allocations: 1.769 MB / 0.7878 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004708/1.385, allocations: 0.7009 MB / 0.7885 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009017/1.386, allocations: 235.3 kB / 0.7887 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.803e-06/1.386, allocations: 0 / 0.7887 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.1392/1.526, allocations: 68.64 MB / 0.8557 GB, free: 11.34 MB / 0.5105 GB