Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_dev_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.001116/0.001116, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7758/0.7758, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.622/1.622, allocations: 221.3 MB / 400.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.0008941, allocations: 102.2 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.23e-05, allocations: 4.031 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.578, allocations: 397 MB / 1.028 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.578, allocations: 91.95 kB / 1.028 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.089/3.667, allocations: 0.5583 GB / 1.587 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.473e-06/3.667, allocations: 0 / 1.587 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001443/3.667, allocations: 44.78 kB / 1.587 GB, free: 102.5 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.003874/3.671, allocations: 1.855 MB / 1.588 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/3.671, allocations: 15 kB / 1.588 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/3.671, allocations: 176.8 kB / 1.589 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/3.676, allocations: 0.6678 MB / 1.589 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/3.68, allocations: 1.788 MB / 1.591 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/3.68, allocations: 126.2 kB / 1.591 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/3.68, allocations: 121.9 kB / 1.591 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/3.683, allocations: 1.463 MB / 1.593 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/3.683, allocations: 0 / 1.593 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/3.683, allocations: 54.38 kB / 1.593 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/3.683, allocations: 49.75 kB / 1.593 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/3.685, allocations: 1.111 MB / 1.594 GB, free: 100.8 MB / 0.6823 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.01006/3.695, allocations: 7.087 MB / 1.601 GB, free: 97.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/3.696, allocations: 0.6183 MB / 1.601 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/3.696, allocations: 347.2 kB / 1.602 GB, free: 97.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/3.697, allocations: 1.263 MB / 1.603 GB, free: 96.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/3.697, allocations: 45.38 kB / 1.603 GB, free: 96.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 3.516e-06/3.697, allocations: 0 / 1.603 GB, free: 96.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.001797/3.699, allocations: 0.8798 MB / 1.604 GB, free: 95.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/3.699, allocations: 114.5 kB / 1.604 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/3.701, allocations: 1.216 MB / 1.605 GB, free: 95.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/3.701, allocations: 48.48 kB / 1.605 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/3.701, allocations: 0.7048 MB / 1.606 GB, free: 95.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/3.702, allocations: 229.3 kB / 1.606 GB, free: 95.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/3.702, allocations: 14.72 kB / 1.606 GB, free: 95.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.83e-05/3.702, allocations: 337.2 kB / 1.606 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/3.702, allocations: 322.5 kB / 1.607 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/3.703, allocations: 0.5939 MB / 1.607 GB, free: 94.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/3.704, allocations: 375.4 kB / 1.608 GB, free: 94.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/3.704, allocations: 2.125 kB / 1.608 GB, free: 94.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002119/3.706, allocations: 1.169 MB / 1.609 GB, free: 94.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006683/3.706, allocations: 2.494 MB / 1.611 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/3.706, allocations: 7.812 kB / 1.611 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/3.708, allocations: 0.5213 MB / 1.612 GB, free: 91.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/3.709, allocations: 241.7 kB / 1.612 GB, free: 91.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/3.711, allocations: 1.083 MB / 1.613 GB, free: 91.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/3.713, allocations: 279.7 kB / 1.613 GB, free: 91.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/3.713, allocations: 55.77 kB / 1.613 GB, free: 91.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/3.713, allocations: 7.672 kB / 1.613 GB, free: 91.35 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/3.715, allocations: 1.007 MB / 1.614 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/3.715, allocations: 7.719 kB / 1.614 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/3.716, allocations: 0.5086 MB / 1.615 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/3.718, allocations: 237.7 kB / 1.615 GB, free: 91.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/3.719, allocations: 1.082 MB / 1.616 GB, free: 90.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/3.721, allocations: 246.8 kB / 1.616 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/3.721, allocations: 49.78 kB / 1.616 GB, free: 90.73 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 () * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003016/3.721, allocations: 165 kB / 1.617 GB, free: 90.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/3.721, allocations: 143.5 kB / 1.617 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/3.725, allocations: 1.078 MB / 1.618 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/3.725, allocations: 10.81 kB / 1.618 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/3.725, allocations: 6.234 kB / 1.618 GB, free: 90.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002899/3.728, allocations: 0.9427 MB / 1.619 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00691/3.735, allocations: 3.109 MB / 1.622 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/3.735, allocations: 2.906 kB / 1.622 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/3.736, allocations: 150.4 kB / 1.622 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/3.737, allocations: 0.497 MB / 1.622 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/3.737, allocations: 27.42 kB / 1.622 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/3.739, allocations: 1.067 MB / 1.623 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/3.739, allocations: 7.25 kB / 1.623 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/3.741, allocations: 1.315 MB / 1.625 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009663/3.742, allocations: 396.8 kB / 1.625 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/3.742, allocations: 21.59 kB / 1.625 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/3.744, allocations: 148.5 kB / 1.625 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/3.744, allocations: 50.86 kB / 1.625 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/3.744, allocations: 52.09 kB / 1.625 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001328/3.745, allocations: 0.952 MB / 1.626 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/3.745, allocations: 0 / 1.626 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003169/3.748, allocations: 0.9861 MB / 1.627 GB, free: 87.69 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) * 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.003868/3.752, allocations: 3.569 MB / 1.631 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00293/3.755, allocations: 1.387 MB / 1.632 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/3.755, allocations: 0 / 1.632 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006913/3.756, allocations: 401.2 kB / 1.632 GB, free: 85.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004073/3.76, allocations: 0.7739 MB / 1.633 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006243/3.766, allocations: 2.282 MB / 1.635 GB, free: 84.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/3.767, allocations: 1.249 MB / 1.637 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002137/3.769, allocations: 429.8 kB / 1.637 GB, free: 84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/3.77, allocations: 0.5336 MB / 1.638 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/3.77, allocations: 0 / 1.638 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09413/3.864, allocations: 57.68 MB / 1.694 GB, free: 65.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/3.864, allocations: 216.9 kB / 1.694 GB, free: 64.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.753/7.617, allocations: 3.938 kB / 1.694 GB, free: 64.81 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)