Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000936/0.0009358, 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.0009279/0.0009277, 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.415/1.415, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 251.9 MB / 0.51 GB, free: 4.875 MB / 414.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.0005069/0.0005071, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4936, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1079/0.6016, allocations: 109.3 MB / 0.8348 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03525/0.6369, allocations: 21.52 MB / 0.8558 GB, free: 8.262 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005579/0.6425, allocations: 111.2 kB / 0.8559 GB, free: 8.152 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006331/0.6489, allocations: 1.457 MB / 0.8573 GB, free: 6.688 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01858/0.6675, allocations: 4.077 MB / 0.8613 GB, free: 2.602 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01266/0.6802, allocations: 3.105 MB / 0.8643 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01341/0.6936, allocations: 5.042 MB / 0.8692 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005402/0.6991, allocations: 2.251 MB / 0.8714 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008249/0.7074, allocations: 2.409 MB / 0.8738 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005095/0.7125, allocations: 1.559 MB / 0.8753 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.7137, allocations: 128 kB / 0.8754 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008277/0.7219, allocations: 1.865 MB / 0.8773 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.7236, allocations: 0.5524 MB / 0.8778 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.7257, allocations: 0.7266 MB / 0.8785 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008513/0.7343, allocations: 4.594 MB / 0.883 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7343, allocations: 0 / 0.883 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7343, allocations: 0 / 0.883 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001752/0.7345, allocations: 4 kB / 0.883 GB, free: 12.33 MB / 0.7012 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.008608/0.7431, allocations: 3.382 MB / 0.8863 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.7432, allocations: 8.031 kB / 0.8863 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.7533, allocations: 1.369 MB / 0.8876 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005805/0.7592, allocations: 2.674 MB / 0.8903 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.7595, allocations: 251.9 kB / 0.8905 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000524/0.76, allocations: 247.8 kB / 0.8907 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007991/0.768, allocations: 3.099 MB / 0.8938 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.487e-05/0.7681, allocations: 7.938 kB / 0.8938 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002803/0.7684, allocations: 96 kB / 0.8939 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.838e-05/0.7685, allocations: 75.92 kB / 0.8939 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009132/0.7776, allocations: 2.776 MB / 0.8966 GB, free: 13.96 MB / 0.7169 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.02621/0.8039, allocations: 13.33 MB / 0.9097 GB, free: 4 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4826/1.287, allocations: 1.423 MB / 0.911 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/1.288, allocations: 1.785 MB / 0.9128 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003609/1.292, allocations: 1.129 MB / 0.9139 GB, free: 169 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 4.318e-06/1.292, allocations: 3.969 kB / 0.9139 GB, free: 169 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126): time 0.02229/1.314, allocations: 4.236 MB / 0.918 GB, free: 168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/1.314, allocations: 0.582 MB / 0.9186 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006365/1.321, allocations: 2.582 MB / 0.9211 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005019/1.321, allocations: 59.45 kB / 0.9212 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/1.323, allocations: 1.342 MB / 0.9225 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005059/1.323, allocations: 443.6 kB / 0.9229 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/1.323, allocations: 38.06 kB / 0.9229 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.323, allocations: 376 kB / 0.9233 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/1.327, allocations: 0.9575 MB / 0.9242 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003766/1.331, allocations: 1.545 MB / 0.9258 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003553/1.334, allocations: 1.103 MB / 0.9268 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.334, allocations: 3.969 kB / 0.9268 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01108/1.345, allocations: 3.107 MB / 0.9299 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009014/1.346, allocations: 5.025 MB / 0.9348 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.346, allocations: 11.84 kB / 0.9348 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/1.349, allocations: 0.684 MB / 0.9355 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/1.351, allocations: 0.5115 MB / 0.936 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/1.354, allocations: 1.796 MB / 0.9377 GB, free: 155 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005022/1.359, allocations: 0.5188 MB / 0.9382 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004319/1.359, allocations: 106.2 kB / 0.9383 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.359, allocations: 7.875 kB / 0.9383 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01117/1.37, allocations: 2.835 MB / 0.9411 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.922e-05/1.37, allocations: 11.78 kB / 0.9411 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/1.373, allocations: 0.6824 MB / 0.9418 GB, free: 153 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/1.376, allocations: 0.507 MB / 0.9423 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/1.378, allocations: 1.794 MB / 0.944 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/1.382, allocations: 471 kB / 0.9445 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/1.383, allocations: 104.3 kB / 0.9446 GB, free: 151.1 MB / 0.7169 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.002087/1.385, allocations: 0.6972 MB / 0.9452 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/1.386, allocations: 265.3 kB / 0.9455 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.397, allocations: 2.578 MB / 0.948 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.339e-05/1.397, allocations: 12 kB / 0.948 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.397, allocations: 8 kB / 0.948 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009115/1.407, allocations: 2.205 MB / 0.9502 GB, free: 145.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/1.423, allocations: 6.49 MB / 0.9565 GB, free: 139 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/1.423, allocations: 8 kB / 0.9565 GB, free: 138.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.424, allocations: 300 kB / 0.9568 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/1.427, allocations: 0.6705 MB / 0.9575 GB, free: 138 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/1.427, allocations: 51.94 kB / 0.9575 GB, free: 137.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.429, allocations: 1.788 MB / 0.9593 GB, free: 136.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.429, allocations: 11.94 kB / 0.9593 GB, free: 136.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.44, allocations: 4.284 MB / 0.9635 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.442, allocations: 0.669 MB / 0.9641 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.443, allocations: 36 kB / 0.9642 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00372/1.447, allocations: 281.4 kB / 0.9644 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.447, allocations: 124.6 kB / 0.9645 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.447, allocations: 73.17 kB / 0.9646 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003548/1.451, allocations: 1.813 MB / 0.9664 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.8e-07/1.451, allocations: 0 / 0.9664 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006526/1.457, allocations: 1.736 MB / 0.9681 GB, free: 126.7 MB / 0.7169 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.002798/1.46, allocations: 0.891 MB / 0.9689 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01127/1.472, allocations: 3.589 MB / 0.9724 GB, free: 122.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/1.472, allocations: 0 / 0.9724 GB, free: 122.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003281/1.475, allocations: 1.047 MB / 0.9735 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007202/1.482, allocations: 1.392 MB / 0.9748 GB, free: 119.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.497, allocations: 6.096 MB / 0.9808 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/1.499, allocations: 1.761 MB / 0.9825 GB, free: 111.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004248/1.503, allocations: 0.6855 MB / 0.9832 GB, free: 111.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007917/1.504, allocations: 239.3 kB / 0.9834 GB, free: 111 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/1.504, allocations: 0 / 0.9834 GB, free: 111 MB / 0.7169 GB Notification: Performance of Templates: time 0.0953/1.599, allocations: 65.95 MB / 1.048 GB, free: 45.93 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: