Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IBPSA_latest_IBPSA_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.000984/0.000984, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4915/0.4915, allocations: 90.81 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.0009578, allocations: 94.08 kB / 421.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.368e-05, allocations: 8 kB / 0.4897 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 72.3 MB / 0.5603 GB, free: 6.34 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.263, allocations: 373.3 MB / 0.9248 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/1.263, allocations: 95.38 kB / 0.9249 GB, free: 100 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.506/2.769, allocations: 422.9 MB / 1.338 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.022e-06/2.769, allocations: 0 / 1.338 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001619/2.769, allocations: 47.78 kB / 1.338 GB, free: 145.6 MB / 0.6042 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.003673/2.773, allocations: 1.932 MB / 1.34 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/2.773, allocations: 13.61 kB / 1.34 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002398/2.773, allocations: 207.8 kB / 1.34 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006493/2.774, allocations: 224.5 kB / 1.34 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/2.777, allocations: 2.126 MB / 1.342 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/2.777, allocations: 110.2 kB / 1.342 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/2.778, allocations: 153.4 kB / 1.343 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/2.78, allocations: 1.86 MB / 1.344 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/2.78, allocations: 12.98 kB / 1.344 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/2.78, allocations: 63.38 kB / 1.344 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/2.781, allocations: 44.47 kB / 1.345 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/2.783, allocations: 1.661 MB / 1.346 GB, free: 144.1 MB / 0.6042 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.009443/2.792, allocations: 7.532 MB / 1.353 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/2.794, allocations: 1.321 MB / 1.355 GB, free: 141.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/2.794, allocations: 0.6284 MB / 1.355 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005252/2.8, allocations: 3.829 MB / 1.359 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/2.8, allocations: 43.97 kB / 1.359 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 2.274e-06/2.8, allocations: 2.125 kB / 1.359 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.001542/2.801, allocations: 1.048 MB / 1.36 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/2.801, allocations: 60.09 kB / 1.36 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/2.803, allocations: 1.512 MB / 1.362 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/2.803, allocations: 49.58 kB / 1.362 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/2.803, allocations: 0.78 MB / 1.363 GB, free: 137 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/2.804, allocations: 299.9 kB / 1.363 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/2.804, allocations: 31.06 kB / 1.363 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/2.804, allocations: 363.7 kB / 1.363 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/2.805, allocations: 0.6645 MB / 1.364 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009348/2.806, allocations: 1.005 MB / 1.365 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/2.807, allocations: 0.8549 MB / 1.366 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/2.807, allocations: 3.844 kB / 1.366 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002376/2.809, allocations: 1.922 MB / 1.368 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006293/2.81, allocations: 3.528 MB / 1.371 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/2.81, allocations: 11.81 kB / 1.371 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/2.81, allocations: 15.34 kB / 1.371 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/2.811, allocations: 353.3 kB / 1.371 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/2.811, allocations: 26.67 kB / 1.371 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/2.812, allocations: 223.7 kB / 1.372 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/2.812, allocations: 64.17 kB / 1.372 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/2.812, allocations: 5.094 kB / 1.372 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002121/2.814, allocations: 1.76 MB / 1.373 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/2.814, allocations: 7.531 kB / 1.373 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/2.814, allocations: 19.09 kB / 1.373 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/2.816, allocations: 351 kB / 1.374 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/2.816, allocations: 19.31 kB / 1.374 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/2.817, allocations: 190.8 kB / 1.374 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/2.817, allocations: 61.53 kB / 1.374 GB, free: 130.1 MB / 0.6042 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.0002477/2.817, allocations: 183.2 kB / 1.374 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/2.817, allocations: 155 kB / 1.374 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/2.819, allocations: 1.2 MB / 1.375 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/2.819, allocations: 7.031 kB / 1.375 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.819, allocations: 0 / 1.375 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/2.82, allocations: 1.239 MB / 1.377 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/2.824, allocations: 2.873 MB / 1.38 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/2.824, allocations: 3.844 kB / 1.38 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/2.825, allocations: 180.4 kB / 1.38 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/2.825, allocations: 7.094 kB / 1.38 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/2.825, allocations: 23.64 kB / 1.38 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/2.825, allocations: 3.719 kB / 1.38 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/2.825, allocations: 3.938 kB / 1.38 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/2.827, allocations: 1.88 MB / 1.382 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/2.828, allocations: 425.6 kB / 1.382 GB, free: 126.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/2.828, allocations: 26.67 kB / 1.382 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007778/2.828, allocations: 73.77 kB / 1.382 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/2.829, allocations: 59.48 kB / 1.382 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/2.829, allocations: 33.42 kB / 1.382 GB, free: 126.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001365/2.83, allocations: 1.246 MB / 1.383 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/2.83, allocations: 3.609 kB / 1.383 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00238/2.832, allocations: 0.9618 MB / 1.384 GB, free: 125.5 MB / 0.6042 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.003049/2.835, allocations: 3.023 MB / 1.387 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002986/2.838, allocations: 2.321 MB / 1.39 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/2.838, allocations: 3 kB / 1.39 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005317/2.839, allocations: 0.4961 MB / 1.39 GB, free: 122 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/2.842, allocations: 0.8456 MB / 1.391 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/2.848, allocations: 3.677 MB / 1.394 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/2.849, allocations: 1.712 MB / 1.396 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003165/2.852, allocations: 1.3 MB / 1.397 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007179/2.853, allocations: 0.6008 MB / 1.398 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of SimCode: time 2.494e-06/2.853, allocations: 0 / 1.398 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07631/2.929, allocations: 53.32 MB / 1.45 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/2.929, allocations: 210.2 kB / 1.45 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/6.346, allocations: 0 / 1.45 GB, free: 62.47 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)