Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.664/2.664, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001679/0.001678, allocations: 172.2 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001218/0.001217, allocations: 98.16 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005068, allocations: 16.11 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2391, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/1.594, allocations: 423.6 MB / 1.392 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/1.594, allocations: 97.89 kB / 1.392 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.686/7.28, allocations: 1.045 GB / 2.437 GB, free: 54.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.324e-06/7.28, allocations: 4 kB / 2.437 GB, free: 54.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004982/7.281, allocations: 79.92 kB / 2.437 GB, free: 54.13 MB / 0.948 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.01393/7.295, allocations: 3.686 MB / 2.441 GB, free: 50.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/7.295, allocations: 8.031 kB / 2.441 GB, free: 50.34 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001477/7.296, allocations: 327.6 kB / 2.441 GB, free: 50.01 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/7.312, allocations: 1.217 MB / 2.442 GB, free: 48.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/7.324, allocations: 3.315 MB / 2.445 GB, free: 45.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/7.324, allocations: 251.9 kB / 2.446 GB, free: 45.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/7.325, allocations: 243.9 kB / 2.446 GB, free: 44.91 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/7.339, allocations: 3.117 MB / 2.449 GB, free: 41.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/7.339, allocations: 15.92 kB / 2.449 GB, free: 41.58 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005269/7.34, allocations: 99.98 kB / 2.449 GB, free: 41.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/7.34, allocations: 75.94 kB / 2.449 GB, free: 41.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/7.357, allocations: 2.76 MB / 2.452 GB, free: 38.63 MB / 0.948 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.03332/7.39, allocations: 13.16 MB / 2.465 GB, free: 24.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/7.397, allocations: 1.499 MB / 2.466 GB, free: 23.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/7.4, allocations: 1.781 MB / 2.468 GB, free: 21.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006493/7.406, allocations: 1.215 MB / 2.469 GB, free: 19.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 5.721e-06/7.406, allocations: 0 / 2.469 GB, free: 19.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.03966/7.446, allocations: 4.267 MB / 2.473 GB, free: 15.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003273/7.446, allocations: 0.9359 MB / 2.474 GB, free: 14.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008103/7.455, allocations: 2.336 MB / 2.476 GB, free: 12.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006753/7.455, allocations: 61.7 kB / 2.476 GB, free: 12.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002267/7.458, allocations: 1.352 MB / 2.478 GB, free: 10.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008794/7.458, allocations: 418.2 kB / 2.478 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/7.459, allocations: 32 kB / 2.478 GB, free: 10.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000154/7.459, allocations: 369.9 kB / 2.478 GB, free: 9.836 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006884/7.466, allocations: 0.9368 MB / 2.479 GB, free: 8.898 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00756/7.474, allocations: 1.567 MB / 2.481 GB, free: 7.082 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007155/7.481, allocations: 1.078 MB / 2.482 GB, free: 6.004 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/7.481, allocations: 4 kB / 2.482 GB, free: 6 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01742/7.498, allocations: 2.906 MB / 2.485 GB, free: 3.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00159/7.5, allocations: 5.037 MB / 2.49 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.052e-05/7.5, allocations: 12 kB / 2.49 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004354/7.504, allocations: 0.7294 MB / 2.49 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005442/7.51, allocations: 0.4914 MB / 2.491 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/7.514, allocations: 1.796 MB / 2.493 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009359/7.523, allocations: 0.513 MB / 2.493 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007136/7.524, allocations: 103.9 kB / 2.493 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/7.524, allocations: 8 kB / 2.493 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01675/7.541, allocations: 2.589 MB / 2.496 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-05/7.541, allocations: 12 kB / 2.496 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004158/7.545, allocations: 0.7237 MB / 2.497 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005431/7.551, allocations: 483.2 kB / 2.497 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004248/7.555, allocations: 1.797 MB / 2.499 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008815/7.564, allocations: 449.8 kB / 2.499 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007826/7.565, allocations: 103.9 kB / 2.499 GB, free: 3.742 MB / 0.9636 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,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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.003046/7.568, allocations: 0.6958 MB / 2.5 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/7.569, allocations: 276.8 kB / 2.5 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/7.587, allocations: 2.265 MB / 2.502 GB, free: 492 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-05/7.587, allocations: 20 kB / 2.502 GB, free: 472 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/7.587, allocations: 7.953 kB / 2.502 GB, free: 464 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01627/7.603, allocations: 2.056 MB / 2.504 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02894/7.632, allocations: 6.987 MB / 2.511 GB, free: 7.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-05/7.632, allocations: 8 kB / 2.511 GB, free: 7.152 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003642/7.636, allocations: 287.6 kB / 2.512 GB, free: 6.871 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004154/7.64, allocations: 0.7081 MB / 2.512 GB, free: 6.172 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003702/7.641, allocations: 51.94 kB / 2.512 GB, free: 6.121 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00381/7.645, allocations: 1.784 MB / 2.514 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/7.645, allocations: 11.94 kB / 2.514 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8334/8.478, allocations: 4.099 MB / 2.518 GB, free: 130.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003197/8.481, allocations: 0.6562 MB / 2.519 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/8.483, allocations: 34.84 kB / 2.519 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007373/8.49, allocations: 277.9 kB / 2.519 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005775/8.491, allocations: 116.8 kB / 2.519 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000365/8.491, allocations: 67.83 kB / 2.519 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006944/8.498, allocations: 1.826 MB / 2.521 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.32e-07/8.498, allocations: 0.9375 kB / 2.521 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01138/8.51, allocations: 1.84 MB / 2.523 GB, free: 130.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * 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 (84): * Single equations (assignments): 78 * 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.02967/8.539, allocations: 7.646 MB / 2.53 GB, free: 126.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02358/8.563, allocations: 3.487 MB / 2.534 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.109e-05/8.563, allocations: 3.781 kB / 2.534 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007164/8.57, allocations: 1.04 MB / 2.535 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01323/8.583, allocations: 1.398 MB / 2.536 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08406/8.668, allocations: 26.87 MB / 2.562 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/8.67, allocations: 1.767 MB / 2.564 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00703/8.677, allocations: 0.6896 MB / 2.565 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003653/8.68, allocations: 1.151 MB / 2.566 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of SimCode: time 1.964e-06/8.681, allocations: 2.297 kB / 2.566 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2422/8.923, allocations: 99.34 MB / 2.663 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/8.923, allocations: 276.3 kB / 2.663 GB, free: 105.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/16.48, allocations: 3.875 kB / 2.663 GB, free: 105.6 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)