Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.792/1.792, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001315/0.001315, allocations: 190.8 kB / 377.1 MB, free: 1.523 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.855/1.855, allocations: 205.4 MB / 0.6366 GB, free: 8.648 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.0008871/0.0008869, allocations: 89.91 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 20 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2804, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.672/1.953, allocations: 425.4 MB / 1.404 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.953, allocations: 94.22 kB / 1.404 GB, free: 278.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.245/5.198, allocations: 1.045 GB / 2.449 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.335e-06/5.198, allocations: 0 / 2.449 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003354/5.198, allocations: 75.98 kB / 2.449 GB, free: 2.258 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01172/5.21, allocations: 3.694 MB / 2.453 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/5.21, allocations: 8.75 kB / 2.453 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001457/5.211, allocations: 332.7 kB / 2.453 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/5.222, allocations: 1.319 MB / 2.455 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008937/5.231, allocations: 3.324 MB / 2.458 GB, free: 9.391 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/5.232, allocations: 247.9 kB / 2.458 GB, free: 9.133 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006427/5.232, allocations: 236 kB / 2.458 GB, free: 8.902 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009162/5.241, allocations: 3.203 MB / 2.462 GB, free: 5.492 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.628e-05/5.242, allocations: 7.938 kB / 2.462 GB, free: 5.484 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003604/5.242, allocations: 100 kB / 2.462 GB, free: 5.387 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.752e-05/5.242, allocations: 75.92 kB / 2.462 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/5.253, allocations: 2.877 MB / 2.465 GB, free: 2.418 MB / 0.9792 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.7556/6.008, allocations: 13.51 MB / 2.478 GB, free: 93.65 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004774/6.013, allocations: 1.59 MB / 2.479 GB, free: 93.42 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/6.015, allocations: 1.773 MB / 2.481 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003958/6.019, allocations: 1.266 MB / 2.482 GB, free: 91.18 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 3.767e-06/6.019, allocations: 2.125 kB / 2.482 GB, free: 91.18 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.07212/6.091, allocations: 16.26 MB / 2.498 GB, free: 85.05 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003001/6.091, allocations: 0.939 MB / 2.499 GB, free: 83.93 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004965/6.096, allocations: 2.418 MB / 2.501 GB, free: 83.71 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005544/6.097, allocations: 61.11 kB / 2.501 GB, free: 83.68 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/6.098, allocations: 1.354 MB / 2.503 GB, free: 83.32 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007312/6.099, allocations: 432 kB / 2.503 GB, free: 83.12 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/6.099, allocations: 32.5 kB / 2.503 GB, free: 83.12 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001791/6.099, allocations: 367.7 kB / 2.504 GB, free: 82.81 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004029/6.103, allocations: 0.9734 MB / 2.505 GB, free: 82.81 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004469/6.108, allocations: 1.616 MB / 2.506 GB, free: 82.13 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/6.112, allocations: 1.11 MB / 2.507 GB, free: 82.08 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/6.112, allocations: 4.906 kB / 2.507 GB, free: 82.08 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01114/6.123, allocations: 3.123 MB / 2.51 GB, free: 81.84 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001346/6.125, allocations: 5.255 MB / 2.515 GB, free: 76.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/6.125, allocations: 12.97 kB / 2.515 GB, free: 76.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003788/6.129, allocations: 1.159 MB / 2.517 GB, free: 76.34 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/6.131, allocations: 443.6 kB / 2.517 GB, free: 76.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/6.135, allocations: 2.387 MB / 2.519 GB, free: 75.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/6.142, allocations: 426 kB / 2.52 GB, free: 75.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006464/6.142, allocations: 110.5 kB / 2.52 GB, free: 75.25 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/6.142, allocations: 3.031 kB / 2.52 GB, free: 75.25 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01006/6.152, allocations: 2.791 MB / 2.523 GB, free: 75.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/6.153, allocations: 14.89 kB / 2.523 GB, free: 75.17 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003587/6.156, allocations: 1.161 MB / 2.524 GB, free: 75.15 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/6.159, allocations: 433.5 kB / 2.524 GB, free: 75.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/6.163, allocations: 2.374 MB / 2.526 GB, free: 74.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006079/6.169, allocations: 381.5 kB / 2.527 GB, free: 74.06 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004213/6.169, allocations: 101.9 kB / 2.527 GB, free: 74.06 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (148): * Single equations (assignments): 145 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002869/6.172, allocations: 0.6991 MB / 2.528 GB, free: 73.88 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/6.173, allocations: 288.8 kB / 2.528 GB, free: 73.73 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/6.184, allocations: 2.413 MB / 2.53 GB, free: 73.61 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/6.184, allocations: 16 kB / 2.53 GB, free: 73.61 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/6.184, allocations: 5.031 kB / 2.53 GB, free: 73.61 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008798/6.193, allocations: 2.186 MB / 2.532 GB, free: 73.32 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/6.211, allocations: 7.14 MB / 2.539 GB, free: 71.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/6.211, allocations: 6.5 kB / 2.539 GB, free: 71.37 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/6.213, allocations: 275 kB / 2.54 GB, free: 71.37 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003369/6.217, allocations: 1.023 MB / 2.541 GB, free: 71.34 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/6.217, allocations: 48.83 kB / 2.541 GB, free: 71.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003206/6.22, allocations: 2.153 MB / 2.543 GB, free: 70.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/6.22, allocations: 9.219 kB / 2.543 GB, free: 70.29 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/6.234, allocations: 4.347 MB / 2.547 GB, free: 68.88 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/6.237, allocations: 0.6646 MB / 2.548 GB, free: 68.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008107/6.238, allocations: 33.03 kB / 2.548 GB, free: 68.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003882/6.242, allocations: 293.1 kB / 2.548 GB, free: 68.63 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/6.242, allocations: 113.2 kB / 2.548 GB, free: 68.63 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/6.242, allocations: 73.66 kB / 2.548 GB, free: 68.63 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00364/6.246, allocations: 1.904 MB / 2.55 GB, free: 68.48 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.21e-07/6.246, allocations: 1.562 kB / 2.55 GB, free: 68.48 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00694/6.253, allocations: 1.654 MB / 2.552 GB, free: 68.48 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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 (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0177/6.27, allocations: 7.758 MB / 2.559 GB, free: 65.05 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01332/6.284, allocations: 3.676 MB / 2.563 GB, free: 64.87 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.699e-05/6.284, allocations: 7.562 kB / 2.563 GB, free: 64.87 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004107/6.288, allocations: 1.09 MB / 2.564 GB, free: 64.85 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008518/6.296, allocations: 1.51 MB / 2.565 GB, free: 64.82 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06247/6.359, allocations: 27.59 MB / 2.592 GB, free: 49.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/6.361, allocations: 1.767 MB / 2.594 GB, free: 48.32 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004712/6.366, allocations: 0.6527 MB / 2.595 GB, free: 48.28 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/6.368, allocations: 1.162 MB / 2.596 GB, free: 48.27 MB / 0.9792 GB Notification: Performance of SimCode: time 1.744e-06/6.368, allocations: 0 / 2.596 GB, free: 48.27 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1937/6.561, allocations: 106.6 MB / 2.7 GB, free: 42.09 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/6.562, allocations: 266.5 kB / 2.7 GB, free: 41.74 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/13.4, allocations: 0 / 2.7 GB, free: 41.74 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)