Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001209/0.001209, allocations: 176.9 kB / 366.7 MB, free: 1.641 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.967/1.967, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008705/0.0008706, allocations: 85.25 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.194e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8381, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/2.021, allocations: 424.5 MB / 1.388 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/2.022, allocations: 91.89 kB / 1.388 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.963/5.985, allocations: 1.037 GB / 2.425 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.252e-06/5.985, allocations: 1.375 kB / 2.425 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004089/5.986, allocations: 84.16 kB / 2.425 GB, free: 108.2 MB / 0.9636 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.008398/5.994, allocations: 3.187 MB / 2.428 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/5.994, allocations: 13.88 kB / 2.428 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/6.004, allocations: 1.311 MB / 2.429 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008053/6.013, allocations: 3.313 MB / 2.432 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/6.013, allocations: 171.6 kB / 2.432 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006354/6.014, allocations: 141 kB / 2.433 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004905/6.018, allocations: 2.018 MB / 2.435 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005079/6.024, allocations: 2.507 MB / 2.437 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/6.024, allocations: 8.344 kB / 2.437 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002812/6.024, allocations: 5.781 kB / 2.437 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.113e-05/6.024, allocations: 76.69 kB / 2.437 GB, free: 105.8 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01926/6.043, allocations: 12.82 MB / 2.45 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/6.045, allocations: 1.199 MB / 2.451 GB, free: 99.99 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/6.046, allocations: 0.6151 MB / 2.451 GB, free: 99.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/6.047, allocations: 1.785 MB / 2.453 GB, free: 98.01 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/6.048, allocations: 0.9553 MB / 2.454 GB, free: 97.71 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=122): time 3.626e-06/6.048, allocations: 1.812 kB / 2.454 GB, free: 97.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.006854/6.055, allocations: 1.833 MB / 2.456 GB, free: 97.51 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/6.055, allocations: 0.9368 MB / 2.457 GB, free: 96.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/6.058, allocations: 1.859 MB / 2.459 GB, free: 96.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000306/6.058, allocations: 33.17 kB / 2.459 GB, free: 96.12 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/6.059, allocations: 1.379 MB / 2.46 GB, free: 95.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/6.06, allocations: 415.6 kB / 2.46 GB, free: 95.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/6.06, allocations: 0 / 2.46 GB, free: 95.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/6.06, allocations: 369.8 kB / 2.461 GB, free: 95 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009399/6.061, allocations: 0.6263 MB / 2.461 GB, free: 95 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/6.062, allocations: 1.223 MB / 2.462 GB, free: 94.34 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/6.066, allocations: 0.9851 MB / 2.463 GB, free: 94.33 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/6.066, allocations: 3.375 kB / 2.463 GB, free: 94.33 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01437/6.08, allocations: 2.931 MB / 2.466 GB, free: 94.13 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002712/6.083, allocations: 4.952 MB / 2.471 GB, free: 88.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/6.083, allocations: 10.41 kB / 2.471 GB, free: 88.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/6.085, allocations: 0.7001 MB / 2.472 GB, free: 88.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/6.088, allocations: 0.492 MB / 2.472 GB, free: 88.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/6.091, allocations: 1.906 MB / 2.474 GB, free: 87.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006055/6.097, allocations: 464.8 kB / 2.475 GB, free: 87.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004685/6.097, allocations: 109.3 kB / 2.475 GB, free: 87.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/6.097, allocations: 3.969 kB / 2.475 GB, free: 87.68 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01336/6.111, allocations: 2.646 MB / 2.477 GB, free: 87.63 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.956e-05/6.111, allocations: 11.66 kB / 2.477 GB, free: 87.63 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/6.112, allocations: 0.7109 MB / 2.478 GB, free: 87.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/6.115, allocations: 482.6 kB / 2.478 GB, free: 87.61 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/6.117, allocations: 1.901 MB / 2.48 GB, free: 86.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004552/6.121, allocations: 381.3 kB / 2.481 GB, free: 86.49 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/6.122, allocations: 114.1 kB / 2.481 GB, free: 86.48 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 () * 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005322/6.122, allocations: 155.7 kB / 2.481 GB, free: 86.37 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006458/6.129, allocations: 1.848 MB / 2.483 GB, free: 86.17 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007807/6.13, allocations: 240.8 kB / 2.483 GB, free: 86.05 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/6.142, allocations: 2.428 MB / 2.485 GB, free: 85.92 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-05/6.143, allocations: 19.05 kB / 2.485 GB, free: 85.92 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/6.143, allocations: 7.5 kB / 2.485 GB, free: 85.92 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01232/6.155, allocations: 2.256 MB / 2.488 GB, free: 85.62 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/6.174, allocations: 6.831 MB / 2.494 GB, free: 83.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/6.174, allocations: 11.77 kB / 2.494 GB, free: 83.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/6.176, allocations: 290.2 kB / 2.495 GB, free: 83.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/6.177, allocations: 0.6985 MB / 2.495 GB, free: 83.64 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/6.177, allocations: 34 kB / 2.495 GB, free: 83.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/6.179, allocations: 1.903 MB / 2.497 GB, free: 82.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/6.179, allocations: 13 kB / 2.497 GB, free: 82.59 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/6.186, allocations: 3.408 MB / 2.5 GB, free: 81.33 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/6.187, allocations: 0.636 MB / 2.501 GB, free: 81.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005126/6.188, allocations: 15.09 kB / 2.501 GB, free: 81.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003283/6.191, allocations: 265.2 kB / 2.501 GB, free: 81.09 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/6.191, allocations: 114.4 kB / 2.501 GB, free: 81.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/6.192, allocations: 78.81 kB / 2.502 GB, free: 81.09 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002054/6.194, allocations: 1.383 MB / 2.503 GB, free: 80.94 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/6.194, allocations: 0 / 2.503 GB, free: 80.94 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006949/6.201, allocations: 1.821 MB / 2.505 GB, free: 80.61 MB / 0.9636 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) * 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01002/6.211, allocations: 7.071 MB / 2.512 GB, free: 76.85 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004779/6.216, allocations: 2.64 MB / 2.514 GB, free: 76.67 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/6.216, allocations: 5.281 kB / 2.514 GB, free: 76.67 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/6.217, allocations: 0.7696 MB / 2.515 GB, free: 76.66 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/6.223, allocations: 1.101 MB / 2.516 GB, free: 76.63 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/6.235, allocations: 4.295 MB / 2.52 GB, free: 75.31 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/6.237, allocations: 1.781 MB / 2.522 GB, free: 74.58 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004318/6.241, allocations: 0.7523 MB / 2.523 GB, free: 74.55 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/6.242, allocations: 1.095 MB / 2.524 GB, free: 74.54 MB / 0.9636 GB Notification: Performance of SimCode: time 1.583e-06/6.242, allocations: 0 / 2.524 GB, free: 74.54 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/6.37, allocations: 87.72 MB / 2.609 GB, free: 69.16 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/6.37, allocations: 186 kB / 2.61 GB, free: 68.97 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.358/11.73, allocations: 0 / 2.61 GB, free: 68.97 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)