Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",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.009594/0.009594, allocations: 171.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7827/0.7827, allocations: 135.2 MB / 151 MB, free: 13.81 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.544/1.544, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0008863/0.0008866, allocations: 92.92 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4298, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7954/1.225, allocations: 345.7 MB / 0.9871 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/1.226, allocations: 94.02 kB / 0.9872 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.744/2.97, allocations: 438.2 MB / 1.415 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/2.97, allocations: 0 / 1.415 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000101/2.97, allocations: 37.27 kB / 1.415 GB, free: 140.9 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002961/2.973, allocations: 1.47 MB / 1.417 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/2.973, allocations: 10.62 kB / 1.417 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/2.973, allocations: 126.2 kB / 1.417 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/2.975, allocations: 336.9 kB / 1.417 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/2.977, allocations: 1.089 MB / 1.418 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/2.977, allocations: 67.38 kB / 1.418 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/2.977, allocations: 75.88 kB / 1.418 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/2.979, allocations: 1.04 MB / 1.419 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/2.979, allocations: 8.656 kB / 1.419 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/2.979, allocations: 30.47 kB / 1.419 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/2.979, allocations: 20.03 kB / 1.419 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/2.981, allocations: 0.8723 MB / 1.42 GB, free: 139.5 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.005136/2.986, allocations: 3.857 MB / 1.424 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/2.988, allocations: 0.6373 MB / 1.425 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007725/2.989, allocations: 0.9342 MB / 1.426 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009679/2.99, allocations: 439.1 kB / 1.426 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.845e-06/2.99, allocations: 3.406 kB / 1.426 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.002728/2.992, allocations: 1.01 MB / 1.427 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/2.992, allocations: 113.8 kB / 1.427 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/2.993, allocations: 0.7733 MB / 1.428 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/2.994, allocations: 33.58 kB / 1.428 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/2.994, allocations: 489 kB / 1.428 GB, free: 135 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/2.994, allocations: 164.7 kB / 1.428 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/2.994, allocations: 11.94 kB / 1.428 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/2.994, allocations: 333.5 kB / 1.429 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/2.995, allocations: 300.4 kB / 1.429 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008424/2.996, allocations: 483 kB / 1.43 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/2.997, allocations: 373.8 kB / 1.43 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/2.997, allocations: 5.844 kB / 1.43 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002015/2.999, allocations: 0.9148 MB / 1.431 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/2.999, allocations: 34.98 kB / 1.431 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/2.999, allocations: 9.484 kB / 1.431 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/2.999, allocations: 11.84 kB / 1.431 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/3, allocations: 200.9 kB / 1.431 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/3, allocations: 7.125 kB / 1.431 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/3.001, allocations: 162.2 kB / 1.431 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/3.001, allocations: 41.05 kB / 1.431 GB, free: 133.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005174/3.001, allocations: 270.9 kB / 1.431 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/3.002, allocations: 97.22 kB / 1.432 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/3.004, allocations: 1.111 MB / 1.433 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/3.004, allocations: 11.31 kB / 1.433 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/3.004, allocations: 0 / 1.433 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/3.004, allocations: 0 / 1.433 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/3.008, allocations: 2.168 MB / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/3.008, allocations: 0 / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/3.009, allocations: 166.8 kB / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/3.009, allocations: 7.094 kB / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/3.009, allocations: 25.72 kB / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/3.009, allocations: 10.31 kB / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/3.009, allocations: 0 / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/3.011, allocations: 1.561 MB / 1.436 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/3.012, allocations: 273.7 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/3.012, allocations: 11.88 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008342/3.013, allocations: 118.3 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/3.013, allocations: 46.88 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/3.013, allocations: 31.03 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009281/3.014, allocations: 0.6176 MB / 1.438 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/3.014, allocations: 1.75 kB / 1.438 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001434/3.016, allocations: 400.9 kB / 1.438 GB, free: 130.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005122/3.021, allocations: 3.235 MB / 1.441 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002022/3.023, allocations: 0.8184 MB / 1.442 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/3.023, allocations: 0 / 1.442 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009373/3.024, allocations: 428 kB / 1.442 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/3.026, allocations: 452.3 kB / 1.443 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/3.043, allocations: 9.84 MB / 1.452 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/3.043, allocations: 1.062 MB / 1.453 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001025/3.044, allocations: 207 kB / 1.454 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005323/3.045, allocations: 399.3 kB / 1.454 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.724e-06/3.045, allocations: 4 kB / 1.454 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3518/3.397, allocations: 32.18 MB / 1.485 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/3.397, allocations: 206 kB / 1.486 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.33/6.727, allocations: 3.938 kB / 1.486 GB, free: 90.13 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)