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.001365/0.001365, allocations: 174.6 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.7694/0.7694, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.676/1.676, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.001028/0.001028, allocations: 95.78 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.443e-05/4.457e-05, allocations: 2.688 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1988, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.502/1.701, allocations: 382.9 MB / 1.014 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.701, allocations: 95.77 kB / 1.015 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.343/3.045, allocations: 420 MB / 1.425 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.583e-06/3.045, allocations: 0 / 1.425 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003395/3.045, allocations: 59.86 kB / 1.425 GB, free: 74.13 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.006632/3.052, allocations: 1.923 MB / 1.427 GB, free: 72.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/3.052, allocations: 15.97 kB / 1.427 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008531/3.053, allocations: 210.8 kB / 1.427 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/3.054, allocations: 229.5 kB / 1.427 GB, free: 71.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/3.06, allocations: 2.119 MB / 1.429 GB, free: 69.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/3.06, allocations: 111.9 kB / 1.429 GB, free: 69.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005852/3.06, allocations: 160 kB / 1.429 GB, free: 69.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/3.065, allocations: 1.857 MB / 1.431 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.8e-05/3.065, allocations: 19.73 kB / 1.431 GB, free: 67.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/3.065, allocations: 59.98 kB / 1.431 GB, free: 67.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/3.065, allocations: 39.98 kB / 1.431 GB, free: 67.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/3.067, allocations: 1.662 MB / 1.433 GB, free: 65.55 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.01051/3.078, allocations: 7.532 MB / 1.44 GB, free: 57.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/3.08, allocations: 1.319 MB / 1.442 GB, free: 56.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/3.08, allocations: 0.6329 MB / 1.442 GB, free: 55.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005614/3.086, allocations: 3.827 MB / 1.446 GB, free: 51.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/3.086, allocations: 39.34 kB / 1.446 GB, free: 51.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 3.286e-06/3.086, allocations: 0 / 1.446 GB, free: 51.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.001635/3.088, allocations: 1.053 MB / 1.447 GB, free: 50.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/3.088, allocations: 64.12 kB / 1.447 GB, free: 50.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/3.089, allocations: 1.511 MB / 1.449 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.153e-05/3.089, allocations: 45.7 kB / 1.449 GB, free: 48.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/3.09, allocations: 0.7729 MB / 1.449 GB, free: 48.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/3.09, allocations: 315.6 kB / 1.45 GB, free: 47.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/3.09, allocations: 28 kB / 1.45 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/3.09, allocations: 361.9 kB / 1.45 GB, free: 47.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/3.091, allocations: 0.6637 MB / 1.451 GB, free: 46.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00095/3.092, allocations: 1.003 MB / 1.452 GB, free: 45.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009737/3.093, allocations: 0.8597 MB / 1.452 GB, free: 44.74 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/3.093, allocations: 4 kB / 1.452 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002539/3.096, allocations: 1.909 MB / 1.454 GB, free: 42.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007619/3.096, allocations: 3.524 MB / 1.458 GB, free: 39.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/3.096, allocations: 12 kB / 1.458 GB, free: 39.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/3.097, allocations: 16 kB / 1.458 GB, free: 39.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/3.098, allocations: 347.5 kB / 1.458 GB, free: 38.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/3.098, allocations: 23.89 kB / 1.458 GB, free: 38.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/3.099, allocations: 222 kB / 1.458 GB, free: 38.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/3.099, allocations: 67.92 kB / 1.458 GB, free: 38.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/3.099, allocations: 8 kB / 1.458 GB, free: 38.38 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002101/3.101, allocations: 1.752 MB / 1.46 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/3.101, allocations: 8 kB / 1.46 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/3.102, allocations: 16.88 kB / 1.46 GB, free: 36.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/3.103, allocations: 355.5 kB / 1.461 GB, free: 36.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/3.103, allocations: 19.94 kB / 1.461 GB, free: 36.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/3.104, allocations: 198.4 kB / 1.461 GB, free: 36.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/3.104, allocations: 59.98 kB / 1.461 GB, free: 35.98 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 () * 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.0002916/3.104, allocations: 184.5 kB / 1.461 GB, free: 35.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/3.105, allocations: 150.1 kB / 1.461 GB, free: 35.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/3.107, allocations: 1.211 MB / 1.462 GB, free: 34.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/3.107, allocations: 8 kB / 1.462 GB, free: 34.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/3.107, allocations: 0 / 1.462 GB, free: 34.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/3.108, allocations: 1.24 MB / 1.464 GB, free: 33.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/3.112, allocations: 2.875 MB / 1.466 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/3.112, allocations: 0 / 1.466 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/3.112, allocations: 175.8 kB / 1.466 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/3.112, allocations: 11.92 kB / 1.466 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/3.112, allocations: 20 kB / 1.467 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/3.112, allocations: 7.938 kB / 1.467 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/3.112, allocations: 4 kB / 1.467 GB, free: 29.92 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/3.114, allocations: 1.885 MB / 1.468 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007396/3.115, allocations: 430.8 kB / 1.469 GB, free: 27.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/3.115, allocations: 19.95 kB / 1.469 GB, free: 27.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007922/3.116, allocations: 71.78 kB / 1.469 GB, free: 27.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/3.116, allocations: 52.64 kB / 1.469 GB, free: 27.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/3.116, allocations: 39.97 kB / 1.469 GB, free: 27.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001515/3.118, allocations: 1.248 MB / 1.47 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/3.118, allocations: 0 / 1.47 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002563/3.12, allocations: 0.963 MB / 1.471 GB, free: 25.14 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 () * 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.003175/3.124, allocations: 3.008 MB / 1.474 GB, free: 22.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003069/3.127, allocations: 2.321 MB / 1.476 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/3.127, allocations: 7.938 kB / 1.476 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005345/3.127, allocations: 0.4963 MB / 1.477 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/3.131, allocations: 0.8411 MB / 1.478 GB, free: 18.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005652/3.137, allocations: 3.686 MB / 1.481 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009895/3.138, allocations: 1.715 MB / 1.483 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003252/3.141, allocations: 1.289 MB / 1.484 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000761/3.142, allocations: 0.5969 MB / 1.485 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of SimCode: time 2.826e-06/3.142, allocations: 0 / 1.485 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5641/3.706, allocations: 53.31 MB / 1.537 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/3.706, allocations: 204.5 kB / 1.537 GB, free: 131 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.663/7.369, allocations: 0 / 1.537 GB, free: 131 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)