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.001778/0.001778, allocations: 182.3 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5156/0.5156, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.494/1.494, allocations: 223.1 MB / 354.3 MB, free: 10.46 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.001319/0.001319, allocations: 88.31 kB / 427.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 8 kB / 0.4983 GB, free: 41.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 72.31 MB / 0.5689 GB, free: 1.613 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.984/1.127, allocations: 373.3 MB / 0.9335 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.127, allocations: 105.7 kB / 0.9336 GB, free: 93.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.625/2.752, allocations: 424 MB / 1.348 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/2.752, allocations: 0 / 1.348 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003099/2.752, allocations: 51.44 kB / 1.348 GB, free: 146.9 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.007698/2.76, allocations: 2.25 MB / 1.35 GB, free: 146 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/2.76, allocations: 10.84 kB / 1.35 GB, free: 146 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009757/2.761, allocations: 210.8 kB / 1.35 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/2.763, allocations: 225.8 kB / 1.35 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006803/2.77, allocations: 2.137 MB / 1.352 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/2.77, allocations: 115.1 kB / 1.353 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006411/2.77, allocations: 155.5 kB / 1.353 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004692/2.775, allocations: 1.88 MB / 1.355 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.622e-05/2.775, allocations: 11.86 kB / 1.355 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/2.776, allocations: 59.72 kB / 1.355 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.462e-05/2.776, allocations: 41.56 kB / 1.355 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/2.779, allocations: 1.683 MB / 1.356 GB, free: 144.6 MB / 0.6042 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.01327/2.792, allocations: 7.537 MB / 1.364 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/2.794, allocations: 1.339 MB / 1.365 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006961/2.801, allocations: 3.758 MB / 1.369 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/2.801, allocations: 46.72 kB / 1.369 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 3.276e-06/2.801, allocations: 0 / 1.369 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.002671/2.804, allocations: 1.456 MB / 1.37 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/2.804, allocations: 62.88 kB / 1.37 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/2.807, allocations: 1.534 MB / 1.372 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002141/2.807, allocations: 45.64 kB / 1.372 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008777/2.808, allocations: 0.7694 MB / 1.372 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/2.808, allocations: 306.5 kB / 1.373 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/2.809, allocations: 29.88 kB / 1.373 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001567/2.809, allocations: 362 kB / 1.373 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/2.81, allocations: 0.6675 MB / 1.374 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/2.811, allocations: 1.012 MB / 1.375 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/2.813, allocations: 0.8635 MB / 1.376 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/2.813, allocations: 3.906 kB / 1.376 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003298/2.816, allocations: 1.923 MB / 1.377 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008417/2.817, allocations: 3.522 MB / 1.381 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/2.817, allocations: 9.125 kB / 1.381 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-05/2.817, allocations: 18.31 kB / 1.381 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/2.818, allocations: 349.3 kB / 1.381 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.271e-05/2.818, allocations: 29.31 kB / 1.381 GB, free: 129.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/2.82, allocations: 226 kB / 1.382 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/2.82, allocations: 62.55 kB / 1.382 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/2.82, allocations: 3.719 kB / 1.382 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002547/2.823, allocations: 1.766 MB / 1.383 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/2.823, allocations: 9.969 kB / 1.383 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/2.823, allocations: 19.55 kB / 1.383 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/2.824, allocations: 353.3 kB / 1.384 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.338e-05/2.824, allocations: 25.23 kB / 1.384 GB, free: 128.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/2.826, allocations: 183.3 kB / 1.384 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/2.826, allocations: 68.27 kB / 1.384 GB, free: 128.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 () * 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.001404/2.828, allocations: 0.7527 MB / 1.385 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006074/2.828, allocations: 149.2 kB / 1.385 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/2.831, allocations: 1.214 MB / 1.386 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/2.831, allocations: 14.58 kB / 1.386 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/2.831, allocations: 0 / 1.386 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001423/2.832, allocations: 1.249 MB / 1.387 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005448/2.838, allocations: 2.892 MB / 1.39 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/2.838, allocations: 7.844 kB / 1.39 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/2.838, allocations: 175.8 kB / 1.39 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/2.839, allocations: 4 kB / 1.39 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/2.839, allocations: 25.08 kB / 1.39 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/2.839, allocations: 7.938 kB / 1.39 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/2.839, allocations: 2.625 kB / 1.39 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/2.841, allocations: 1.909 MB / 1.392 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/2.842, allocations: 422.8 kB / 1.393 GB, free: 121.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006252/2.843, allocations: 27.94 kB / 1.393 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/2.844, allocations: 71.78 kB / 1.393 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/2.844, allocations: 52.86 kB / 1.393 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/2.844, allocations: 35.98 kB / 1.393 GB, free: 121 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002073/2.846, allocations: 1.265 MB / 1.394 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/2.846, allocations: 3.828 kB / 1.394 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003659/2.85, allocations: 0.963 MB / 1.395 GB, free: 118.7 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 () * 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.003857/2.854, allocations: 3.049 MB / 1.398 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003845/2.858, allocations: 2.298 MB / 1.4 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/2.858, allocations: 8.188 kB / 1.4 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006467/2.858, allocations: 0.5052 MB / 1.401 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/2.863, allocations: 0.8501 MB / 1.401 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/2.874, allocations: 11.53 MB / 1.413 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/2.876, allocations: 1.705 MB / 1.414 GB, free: 98.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003309/2.879, allocations: 0.9155 MB / 1.415 GB, free: 97.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/2.88, allocations: 0.6242 MB / 1.416 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of SimCode: time 3.266e-06/2.88, allocations: 0 / 1.416 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/2.987, allocations: 50.84 MB / 1.466 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/2.987, allocations: 234 kB / 1.466 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.725/6.712, allocations: 64 / 1.466 GB, free: 46.89 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)