Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00906/0.00906, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8455/0.8455, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 97.38 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 12 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4351, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8504/1.286, allocations: 397.1 MB / 1.037 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.286, allocations: 94.91 kB / 1.037 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.315/3.601, allocations: 0.56 GB / 1.597 GB, free: 97.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/3.601, allocations: 0 / 1.597 GB, free: 97.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001816/3.601, allocations: 46.67 kB / 1.597 GB, free: 97.14 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005861/3.607, allocations: 2.119 MB / 1.599 GB, free: 96.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/3.607, allocations: 12.06 kB / 1.599 GB, free: 96.41 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004994/3.608, allocations: 181.4 kB / 1.6 GB, free: 96.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005658/3.614, allocations: 0.6714 MB / 1.6 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/3.618, allocations: 1.802 MB / 1.602 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/3.618, allocations: 124.5 kB / 1.602 GB, free: 95.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/3.618, allocations: 113.3 kB / 1.602 GB, free: 95.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004183/3.622, allocations: 1.668 MB / 1.604 GB, free: 95.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/3.623, allocations: 2.438 kB / 1.604 GB, free: 95.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/3.623, allocations: 50.22 kB / 1.604 GB, free: 95.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/3.623, allocations: 55.31 kB / 1.604 GB, free: 95.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/3.628, allocations: 1.488 MB / 1.605 GB, free: 95.64 MB / 0.6823 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.01035/3.638, allocations: 7.08 MB / 1.612 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/3.64, allocations: 0.7777 MB / 1.613 GB, free: 92.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/3.641, allocations: 1.263 MB / 1.614 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/3.641, allocations: 43.72 kB / 1.614 GB, free: 91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 2.735e-06/3.641, allocations: 3.375 kB / 1.614 GB, free: 91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.0233/3.665, allocations: 3.74 MB / 1.618 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/3.665, allocations: 115.2 kB / 1.618 GB, free: 90.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/3.667, allocations: 1.273 MB / 1.619 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/3.667, allocations: 43.11 kB / 1.619 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/3.668, allocations: 0.7016 MB / 1.62 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/3.668, allocations: 230.1 kB / 1.62 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/3.668, allocations: 16.59 kB / 1.62 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.831e-05/3.668, allocations: 338 kB / 1.621 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/3.67, allocations: 0.4982 MB / 1.621 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/3.672, allocations: 0.7837 MB / 1.622 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/3.674, allocations: 0.5518 MB / 1.623 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/3.674, allocations: 0 / 1.623 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.005035/3.679, allocations: 1.57 MB / 1.624 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005836/3.68, allocations: 2.494 MB / 1.626 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/3.68, allocations: 6.781 kB / 1.626 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/3.681, allocations: 0.5647 MB / 1.627 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/3.683, allocations: 239.2 kB / 1.627 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/3.685, allocations: 1.171 MB / 1.628 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/3.688, allocations: 278.4 kB / 1.629 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/3.688, allocations: 54 kB / 1.629 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/3.688, allocations: 5.031 kB / 1.629 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004643/3.692, allocations: 1.408 MB / 1.63 GB, free: 86.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/3.692, allocations: 9.344 kB / 1.63 GB, free: 86.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/3.694, allocations: 0.5691 MB / 1.631 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/3.696, allocations: 237.5 kB / 1.631 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/3.697, allocations: 1.17 MB / 1.632 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/3.7, allocations: 238.2 kB / 1.632 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/3.7, allocations: 60.94 kB / 1.632 GB, free: 85.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009784/3.701, allocations: 446 kB / 1.633 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/3.701, allocations: 147.9 kB / 1.633 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/3.705, allocations: 1.32 MB / 1.634 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/3.705, allocations: 6.625 kB / 1.634 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/3.705, allocations: 3.953 kB / 1.634 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003518/3.709, allocations: 1.189 MB / 1.635 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008121/3.717, allocations: 3.444 MB / 1.639 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/3.717, allocations: 6 kB / 1.639 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/3.718, allocations: 150.2 kB / 1.639 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/3.72, allocations: 0.5462 MB / 1.639 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/3.72, allocations: 23.44 kB / 1.639 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/3.722, allocations: 1.161 MB / 1.641 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/3.722, allocations: 9.656 kB / 1.641 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/3.726, allocations: 1.644 MB / 1.642 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/3.727, allocations: 395.5 kB / 1.643 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/3.727, allocations: 23.66 kB / 1.643 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/3.729, allocations: 143.3 kB / 1.643 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/3.729, allocations: 57.19 kB / 1.643 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/3.729, allocations: 45.61 kB / 1.643 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001591/3.731, allocations: 0.9938 MB / 1.644 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/3.731, allocations: 2.156 kB / 1.644 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003018/3.734, allocations: 0.9885 MB / 1.645 GB, free: 82.53 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006242/3.74, allocations: 3.898 MB / 1.649 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00655/3.747, allocations: 1.83 MB / 1.65 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/3.747, allocations: 0 / 1.65 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/3.749, allocations: 0.5428 MB / 1.651 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/3.753, allocations: 0.7834 MB / 1.652 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/3.776, allocations: 13.52 MB / 1.665 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/3.777, allocations: 1.238 MB / 1.666 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002004/3.779, allocations: 326 kB / 1.666 GB, free: 72.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007249/3.779, allocations: 0.5617 MB / 1.667 GB, free: 72.39 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/3.779, allocations: 1.094 kB / 1.667 GB, free: 72.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08105/3.86, allocations: 55.32 MB / 1.721 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/3.861, allocations: 255.3 kB / 1.721 GB, free: 69.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/7.647, allocations: 0 / 1.721 GB, free: 69.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)