Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",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.01657/0.01657, allocations: 171.9 kB / 15.11 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 1.401/1.401, allocations: 135.2 MB / 151 MB, free: 13.8 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.095/3.095, allocations: 223.2 MB / 406.8 MB, free: 3.148 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.001421/0.001421, allocations: 98.88 kB / 489.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006049/0.0006046, allocations: 8 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8731/0.8738, allocations: 82.31 MB / 0.6495 GB, free: 36.08 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.53/2.404, allocations: 383 MB / 1.024 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004882/2.404, allocations: 97.67 kB / 1.024 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.324/5.728, allocations: 421.1 MB / 1.435 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.777e-06/5.728, allocations: 0 / 1.435 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000778/5.729, allocations: 47.91 kB / 1.435 GB, free: 152.2 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.01504/5.744, allocations: 2.257 MB / 1.437 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.679e-05/5.744, allocations: 8.031 kB / 1.437 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00204/5.746, allocations: 209.5 kB / 1.437 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/5.75, allocations: 225.5 kB / 1.438 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/5.764, allocations: 2.135 MB / 1.44 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000409/5.764, allocations: 111.9 kB / 1.44 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/5.766, allocations: 159.9 kB / 1.44 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/5.778, allocations: 1.879 MB / 1.442 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/5.778, allocations: 13.14 kB / 1.442 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009747/5.779, allocations: 62.08 kB / 1.442 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/5.779, allocations: 36 kB / 1.442 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006964/5.786, allocations: 1.689 MB / 1.444 GB, free: 143.3 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.0285/5.815, allocations: 7.541 MB / 1.451 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/5.819, allocations: 1.33 MB / 1.452 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/5.836, allocations: 3.761 MB / 1.456 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/5.836, allocations: 39.56 kB / 1.456 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 1.403e-05/5.836, allocations: 3.031 kB / 1.456 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.007549/5.844, allocations: 1.455 MB / 1.457 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/5.844, allocations: 60.41 kB / 1.457 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007347/5.851, allocations: 1.528 MB / 1.459 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008244/5.852, allocations: 49.69 kB / 1.459 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002261/5.855, allocations: 0.7676 MB / 1.46 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/5.856, allocations: 304.6 kB / 1.46 GB, free: 126 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005536/5.856, allocations: 35.03 kB / 1.46 GB, free: 126 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000381/5.857, allocations: 369.9 kB / 1.46 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/5.859, allocations: 0.6675 MB / 1.461 GB, free: 125 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/5.862, allocations: 1.011 MB / 1.462 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/5.865, allocations: 0.8619 MB / 1.463 GB, free: 123 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.04e-05/5.865, allocations: 4 kB / 1.463 GB, free: 123 MB / 0.6823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.008127/5.873, allocations: 1.921 MB / 1.465 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002539/5.876, allocations: 3.53 MB / 1.468 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.676e-05/5.876, allocations: 8 kB / 1.468 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-05/5.876, allocations: 16 kB / 1.468 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/5.88, allocations: 353.5 kB / 1.469 GB, free: 117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.305e-05/5.88, allocations: 19.94 kB / 1.469 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/5.884, allocations: 227.2 kB / 1.469 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006055/5.884, allocations: 63.73 kB / 1.469 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/5.885, allocations: 4 kB / 1.469 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006189/5.891, allocations: 1.772 MB / 1.471 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/5.891, allocations: 8 kB / 1.471 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.962e-05/5.891, allocations: 24.11 kB / 1.471 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/5.893, allocations: 351.4 kB / 1.471 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.182e-05/5.894, allocations: 23.92 kB / 1.471 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/5.897, allocations: 194.5 kB / 1.471 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004091/5.897, allocations: 55.98 kB / 1.471 GB, free: 114.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002788/5.9, allocations: 0.7503 MB / 1.472 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/5.901, allocations: 150.1 kB / 1.472 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/5.906, allocations: 1.219 MB / 1.473 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/5.906, allocations: 12 kB / 1.473 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/5.906, allocations: 0 / 1.473 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002545/5.908, allocations: 1.249 MB / 1.474 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009805/5.918, allocations: 2.894 MB / 1.477 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/5.918, allocations: 0 / 1.477 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/5.92, allocations: 179.8 kB / 1.477 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.371e-05/5.92, allocations: 7.938 kB / 1.477 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/5.92, allocations: 27.98 kB / 1.477 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/5.92, allocations: 4 kB / 1.478 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/5.92, allocations: 3.938 kB / 1.478 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005573/5.926, allocations: 1.909 MB / 1.479 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/5.928, allocations: 426.8 kB / 1.48 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/5.93, allocations: 24 kB / 1.48 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/5.932, allocations: 67.77 kB / 1.48 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/5.933, allocations: 64.83 kB / 1.48 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/5.933, allocations: 31.97 kB / 1.48 GB, free: 105 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004811/5.938, allocations: 1.265 MB / 1.481 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.483e-06/5.938, allocations: 0 / 1.481 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009124/5.947, allocations: 0.9591 MB / 1.482 GB, free: 102.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01657/5.964, allocations: 3.044 MB / 1.485 GB, free: 99.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009738/5.974, allocations: 2.297 MB / 1.487 GB, free: 97.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/5.974, allocations: 0 / 1.487 GB, free: 97.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/5.975, allocations: 0.5052 MB / 1.488 GB, free: 96.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007927/5.983, allocations: 0.8463 MB / 1.489 GB, free: 96.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/6.007, allocations: 11.54 MB / 1.5 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/6.01, allocations: 1.709 MB / 1.502 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006108/6.016, allocations: 0.9166 MB / 1.502 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/6.018, allocations: 0.6203 MB / 1.503 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of SimCode: time 3.487e-06/6.018, allocations: 0 / 1.503 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1688/6.187, allocations: 50.83 MB / 1.553 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003532/6.188, allocations: 230.4 kB / 1.553 GB, free: 30.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/13.5, allocations: 0 / 1.553 GB, free: 30.71 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)