Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.439/2.439, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00262/0.00262, allocations: 180.3 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.555/2.555, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001177, allocations: 102 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004721, allocations: 10.44 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1647/0.3746, allocations: 109.3 MB / 1.006 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04916/0.4238, allocations: 21.52 MB / 1.027 GB, free: 14.32 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005406/0.4293, allocations: 107.2 kB / 1.027 GB, free: 14.21 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.007426/0.4368, allocations: 1.461 MB / 1.028 GB, free: 12.75 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.01888/0.4557, allocations: 4.084 MB / 1.032 GB, free: 8.652 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.01522/0.471, allocations: 3.099 MB / 1.035 GB, free: 5.598 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.4845, allocations: 5.034 MB / 1.04 GB, free: 0.5547 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/0.4901, allocations: 2.255 MB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008506/0.4987, allocations: 2.413 MB / 1.045 GB, free: 11.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004608/0.5034, allocations: 1.559 MB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.5047, allocations: 128 kB / 1.046 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008963/0.5138, allocations: 1.861 MB / 1.048 GB, free: 8.285 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001749/0.5156, allocations: 0.5602 MB / 1.049 GB, free: 7.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.5179, allocations: 0.7227 MB / 1.049 GB, free: 6.992 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.5292, allocations: 4.586 MB / 1.054 GB, free: 2.395 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5293, allocations: 4 kB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.877e-06/0.5293, allocations: 0 / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000211/0.5295, allocations: 0 / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.6018/1.131, allocations: 3.381 MB / 1.057 GB, free: 148.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.131, allocations: 9.438 kB / 1.057 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02282/1.154, allocations: 1.365 MB / 1.059 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/1.165, allocations: 2.679 MB / 1.061 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004938/1.166, allocations: 251.4 kB / 1.061 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/1.167, allocations: 240.6 kB / 1.062 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/1.185, allocations: 3.11 MB / 1.065 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/1.185, allocations: 7.531 kB / 1.065 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007402/1.186, allocations: 99.58 kB / 1.065 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/1.186, allocations: 67.42 kB / 1.065 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/1.21, allocations: 2.768 MB / 1.068 GB, free: 147.3 MB / 0.698 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.04846/1.258, allocations: 13.35 MB / 1.081 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007561/1.266, allocations: 1.422 MB / 1.082 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002277/1.268, allocations: 1.785 MB / 1.084 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006089/1.275, allocations: 1.137 MB / 1.085 GB, free: 134.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 5.661e-06/1.275, allocations: 0 / 1.085 GB, free: 134.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.03956/1.314, allocations: 4.242 MB / 1.089 GB, free: 132.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/1.314, allocations: 0.5842 MB / 1.09 GB, free: 132 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007135/1.322, allocations: 2.579 MB / 1.092 GB, free: 130.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005044/1.322, allocations: 58.77 kB / 1.092 GB, free: 130.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/1.324, allocations: 1.338 MB / 1.093 GB, free: 129.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009042/1.325, allocations: 440.9 kB / 1.094 GB, free: 129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/1.325, allocations: 35.34 kB / 1.094 GB, free: 129 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.325, allocations: 373.7 kB / 1.094 GB, free: 128.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007211/1.333, allocations: 0.9636 MB / 1.095 GB, free: 128.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007521/1.34, allocations: 1.553 MB / 1.097 GB, free: 127 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007019/1.347, allocations: 1.097 MB / 1.098 GB, free: 126.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/1.347, allocations: 3.938 kB / 1.098 GB, free: 126.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02234/1.37, allocations: 3.107 MB / 1.101 GB, free: 124.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001076/1.371, allocations: 5.031 MB / 1.106 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.845e-05/1.371, allocations: 11.88 kB / 1.106 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004124/1.375, allocations: 0.6805 MB / 1.106 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005414/1.38, allocations: 0.5093 MB / 1.107 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/1.384, allocations: 1.803 MB / 1.109 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009176/1.393, allocations: 0.5137 MB / 1.109 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000614/1.394, allocations: 109 kB / 1.109 GB, free: 116.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.394, allocations: 4.938 kB / 1.109 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02097/1.415, allocations: 2.83 MB / 1.112 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/1.415, allocations: 12 kB / 1.112 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/1.419, allocations: 0.6889 MB / 1.113 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005251/1.424, allocations: 0.5108 MB / 1.113 GB, free: 112.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/1.428, allocations: 1.791 MB / 1.115 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007825/1.436, allocations: 473.8 kB / 1.115 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005823/1.436, allocations: 107.9 kB / 1.115 GB, free: 109.8 MB / 0.698 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002209/1.438, allocations: 0.6957 MB / 1.116 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.44, allocations: 264.8 kB / 1.116 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/1.46, allocations: 2.576 MB / 1.119 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/1.46, allocations: 16 kB / 1.119 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/1.46, allocations: 4 kB / 1.119 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01859/1.479, allocations: 2.207 MB / 1.121 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/1.505, allocations: 6.485 MB / 1.127 GB, free: 97.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/1.505, allocations: 8 kB / 1.127 GB, free: 97.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/1.509, allocations: 295.9 kB / 1.128 GB, free: 97.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003912/1.513, allocations: 0.6754 MB / 1.128 GB, free: 96.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003813/1.513, allocations: 51.94 kB / 1.128 GB, free: 96.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/1.516, allocations: 1.79 MB / 1.13 GB, free: 94.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.516, allocations: 15.94 kB / 1.13 GB, free: 94.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/1.538, allocations: 4.281 MB / 1.134 GB, free: 89.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.54, allocations: 0.6691 MB / 1.135 GB, free: 89.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.541, allocations: 32 kB / 1.135 GB, free: 89.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006571/1.548, allocations: 282 kB / 1.135 GB, free: 88.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/1.548, allocations: 124.6 kB / 1.135 GB, free: 88.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002749/1.549, allocations: 71.86 kB / 1.136 GB, free: 88.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005065/1.554, allocations: 1.809 MB / 1.137 GB, free: 86.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.554, allocations: 0 / 1.137 GB, free: 86.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008009/1.562, allocations: 1.744 MB / 1.139 GB, free: 85.1 MB / 0.698 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002776/1.565, allocations: 0.882 MB / 1.14 GB, free: 84.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0213/1.586, allocations: 3.589 MB / 1.143 GB, free: 80.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/1.586, allocations: 4 kB / 1.143 GB, free: 80.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006538/1.593, allocations: 1.043 MB / 1.144 GB, free: 79.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/1.604, allocations: 1.382 MB / 1.146 GB, free: 78.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/1.625, allocations: 6.111 MB / 1.152 GB, free: 72.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/1.626, allocations: 1.765 MB / 1.153 GB, free: 70.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005494/1.632, allocations: 0.6815 MB / 1.154 GB, free: 69.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.633, allocations: 235.3 kB / 1.154 GB, free: 69.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.994e-06/1.633, allocations: 0 / 1.154 GB, free: 69.43 MB / 0.698 GB Notification: Performance of Templates: time 0.151/1.784, allocations: 65.96 MB / 1.219 GB, free: 3.992 MB / 0.698 GB