Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_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.01585/0.01585, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.363/1.363, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.162/3.162, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001409/0.001409, allocations: 96.77 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006762/0.0006762, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9425/0.9432, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.619/2.563, allocations: 345.7 MB / 0.9871 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006516/2.563, allocations: 103.6 kB / 0.9872 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.425/5.988, allocations: 438.2 MB / 1.415 GB, free: 141 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.767e-06/5.988, allocations: 0 / 1.415 GB, free: 141 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001811/5.989, allocations: 29.02 kB / 1.415 GB, free: 141 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.006066/5.995, allocations: 1.477 MB / 1.417 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.463e-05/5.995, allocations: 10.06 kB / 1.417 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006311/5.996, allocations: 132.8 kB / 1.417 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/5.998, allocations: 337.3 kB / 1.417 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/6.002, allocations: 1.095 MB / 1.418 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/6.003, allocations: 59.06 kB / 1.418 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004096/6.003, allocations: 78.81 kB / 1.418 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003774/6.007, allocations: 1.038 MB / 1.419 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/6.007, allocations: 6.938 kB / 1.419 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/6.007, allocations: 32.44 kB / 1.419 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/6.007, allocations: 22.44 kB / 1.419 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003373/6.011, allocations: 0.8738 MB / 1.42 GB, free: 139.6 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.009886/6.021, allocations: 3.843 MB / 1.424 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/6.024, allocations: 0.636 MB / 1.425 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/6.025, allocations: 0.936 MB / 1.425 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/6.027, allocations: 445 kB / 1.426 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.899e-06/6.027, allocations: 3.172 kB / 1.426 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.004715/6.031, allocations: 1.007 MB / 1.427 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/6.031, allocations: 116.7 kB / 1.427 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/6.034, allocations: 0.7699 MB / 1.428 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/6.034, allocations: 41 kB / 1.428 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/6.035, allocations: 483 kB / 1.428 GB, free: 135 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/6.035, allocations: 163.3 kB / 1.428 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/6.035, allocations: 13.84 kB / 1.428 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001682/6.035, allocations: 335.4 kB / 1.429 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/6.037, allocations: 301.9 kB / 1.429 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/6.038, allocations: 485.1 kB / 1.43 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/6.039, allocations: 363.8 kB / 1.43 GB, free: 134 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/6.039, allocations: 7.844 kB / 1.43 GB, free: 134 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003816/6.043, allocations: 0.9123 MB / 1.431 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.596e-05/6.043, allocations: 36.58 kB / 1.431 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/6.043, allocations: 7.688 kB / 1.431 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.355e-05/6.043, allocations: 7.25 kB / 1.431 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/6.045, allocations: 211.9 kB / 1.431 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.863e-05/6.045, allocations: 11.62 kB / 1.431 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/6.047, allocations: 160.5 kB / 1.431 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/6.047, allocations: 30.33 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.0009362/6.048, allocations: 280.4 kB / 1.431 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/6.048, allocations: 97.94 kB / 1.432 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/6.053, allocations: 1.104 MB / 1.433 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/6.053, allocations: 19.62 kB / 1.433 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/6.053, allocations: 0 / 1.433 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/6.053, allocations: 3.938 kB / 1.433 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/6.059, allocations: 2.164 MB / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/6.059, allocations: 0 / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/6.06, allocations: 165.2 kB / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.566e-05/6.06, allocations: 6.531 kB / 1.435 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.19e-05/6.061, allocations: 17.5 kB / 1.435 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/6.061, allocations: 5.125 kB / 1.435 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/6.061, allocations: 6.594 kB / 1.435 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/6.065, allocations: 1.557 MB / 1.436 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/6.066, allocations: 276.2 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/6.067, allocations: 13.97 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/6.068, allocations: 115.3 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/6.069, allocations: 54.72 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/6.069, allocations: 24.89 kB / 1.437 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002162/6.071, allocations: 0.6204 MB / 1.438 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.765e-06/6.071, allocations: 2.906 kB / 1.438 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002714/6.074, allocations: 399.8 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.008739/6.082, allocations: 3.248 MB / 1.441 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003587/6.086, allocations: 0.8145 MB / 1.442 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/6.086, allocations: 2.094 kB / 1.442 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/6.088, allocations: 429.2 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.004559/6.092, allocations: 449.7 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.03411/6.127, allocations: 9.848 MB / 1.452 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009759/6.128, allocations: 1.061 MB / 1.453 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002076/6.13, allocations: 192 kB / 1.454 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/6.131, allocations: 402.3 kB / 1.454 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.535e-06/6.131, allocations: 0 / 1.454 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6422/6.773, allocations: 32.19 MB / 1.485 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003142/6.773, allocations: 213.6 kB / 1.486 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.22/12.99, allocations: 0 / 1.486 GB, free: 90.16 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)