Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.001503/0.001502, 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.8354/0.8354, 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.488/1.488, allocations: 221.3 MB / 400.4 MB, free: 5.887 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.0009158/0.0009159, allocations: 101.2 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.024e-05/5.029e-05, allocations: 3.125 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1708, allocations: 82.3 MB / 0.6405 GB, free: 7.773 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.408/1.578, allocations: 397 MB / 1.028 GB, free: 225 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/1.579, allocations: 99.88 kB / 1.028 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.171/3.749, allocations: 0.5582 GB / 1.586 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.262e-06/3.749, allocations: 0 / 1.586 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002782/3.75, allocations: 39.5 kB / 1.586 GB, free: 103.3 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.005787/3.755, allocations: 1.845 MB / 1.588 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/3.755, allocations: 11.16 kB / 1.588 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005857/3.756, allocations: 182.4 kB / 1.588 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/3.761, allocations: 0.6621 MB / 1.589 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0048/3.766, allocations: 1.798 MB / 1.591 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/3.766, allocations: 123.3 kB / 1.591 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004611/3.767, allocations: 126.3 kB / 1.591 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/3.77, allocations: 1.445 MB / 1.593 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/3.77, allocations: 2.531 kB / 1.593 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002347/3.771, allocations: 53.56 kB / 1.593 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/3.771, allocations: 52.11 kB / 1.593 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/3.773, allocations: 1.114 MB / 1.594 GB, free: 101.6 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.01034/3.783, allocations: 6.803 MB / 1.6 GB, free: 98.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/3.784, allocations: 0.538 MB / 1.601 GB, free: 98.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/3.785, allocations: 347.8 kB / 1.601 GB, free: 98.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/3.786, allocations: 1.267 MB / 1.602 GB, free: 97.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/3.786, allocations: 48 kB / 1.602 GB, free: 97.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 3.005e-06/3.786, allocations: 0 / 1.602 GB, free: 97.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.009823/3.796, allocations: 1.434 MB / 1.604 GB, free: 97.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/3.796, allocations: 113.2 kB / 1.604 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/3.798, allocations: 1.222 MB / 1.605 GB, free: 96.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/3.799, allocations: 45.3 kB / 1.605 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/3.799, allocations: 0.705 MB / 1.606 GB, free: 96.49 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/3.8, allocations: 221.9 kB / 1.606 GB, free: 96.35 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/3.8, allocations: 23.69 kB / 1.606 GB, free: 96.35 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001019/3.8, allocations: 341.5 kB / 1.606 GB, free: 96.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/3.8, allocations: 329.8 kB / 1.607 GB, free: 96.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/3.801, allocations: 0.6003 MB / 1.607 GB, free: 95.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007279/3.802, allocations: 394.7 kB / 1.608 GB, free: 95.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/3.802, allocations: 3.562 kB / 1.608 GB, free: 95.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01003/3.812, allocations: 1.726 MB / 1.609 GB, free: 95.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000672/3.813, allocations: 2.488 MB / 1.612 GB, free: 93.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/3.813, allocations: 7.781 kB / 1.612 GB, free: 93.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/3.814, allocations: 421.5 kB / 1.612 GB, free: 93.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/3.816, allocations: 250.9 kB / 1.613 GB, free: 93.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/3.817, allocations: 0.9022 MB / 1.613 GB, free: 92.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/3.82, allocations: 274.8 kB / 1.614 GB, free: 92.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/3.82, allocations: 64.66 kB / 1.614 GB, free: 92.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/3.82, allocations: 3.938 kB / 1.614 GB, free: 92.44 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009509/3.829, allocations: 1.577 MB / 1.615 GB, free: 92.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/3.829, allocations: 5.469 kB / 1.615 GB, free: 92.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/3.831, allocations: 422.7 kB / 1.616 GB, free: 92.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/3.832, allocations: 250.9 kB / 1.616 GB, free: 92.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/3.833, allocations: 0.9067 MB / 1.617 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/3.836, allocations: 234.6 kB / 1.617 GB, free: 91.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/3.836, allocations: 52.36 kB / 1.617 GB, free: 91.83 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 (86): * Single equations (assignments): 85 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005823/3.837, allocations: 160.7 kB / 1.617 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007542/3.838, allocations: 150.1 kB / 1.617 GB, free: 91.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/3.84, allocations: 0.9435 MB / 1.618 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/3.84, allocations: 13.05 kB / 1.618 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/3.84, allocations: 1.875 kB / 1.618 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/3.841, allocations: 0.8149 MB / 1.619 GB, free: 91.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006395/3.848, allocations: 2.704 MB / 1.622 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/3.848, allocations: 4.531 kB / 1.622 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009761/3.849, allocations: 149.7 kB / 1.622 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/3.85, allocations: 415.1 kB / 1.622 GB, free: 90.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/3.85, allocations: 25.39 kB / 1.622 GB, free: 90.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009461/3.851, allocations: 0.9029 MB / 1.623 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/3.851, allocations: 10.78 kB / 1.623 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/3.854, allocations: 1.722 MB / 1.625 GB, free: 89.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/3.855, allocations: 395.2 kB / 1.625 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005597/3.856, allocations: 25.11 kB / 1.625 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/3.858, allocations: 144.6 kB / 1.625 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/3.858, allocations: 51.7 kB / 1.625 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/3.858, allocations: 46.73 kB / 1.626 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001787/3.86, allocations: 0.9711 MB / 1.626 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/3.86, allocations: 3.25 kB / 1.626 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004031/3.864, allocations: 0.9864 MB / 1.627 GB, free: 89.12 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (46): * Single equations (assignments): 43 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.005233/3.869, allocations: 4.092 MB / 1.631 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002724/3.872, allocations: 1.357 MB / 1.633 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/3.872, allocations: 3.938 kB / 1.633 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006963/3.873, allocations: 383.7 kB / 1.633 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/3.877, allocations: 0.7828 MB / 1.634 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006994/3.884, allocations: 2.37 MB / 1.636 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/3.885, allocations: 1.237 MB / 1.637 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002618/3.887, allocations: 459.6 kB / 1.638 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007816/3.888, allocations: 0.5644 MB / 1.638 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/3.888, allocations: 0 / 1.638 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09779/3.986, allocations: 57.02 MB / 1.694 GB, free: 65.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/3.986, allocations: 225.8 kB / 1.694 GB, free: 65.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.148/8.134, allocations: 0.5625 kB / 1.694 GB, free: 65.12 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)