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: translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.485/0.485, allocations: 90.91 MB / 99.34 MB, free: 2.098 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 99.86 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.886e-05, allocations: 4 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 72.32 MB / 0.5535 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.267, allocations: 372.6 MB / 0.9174 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.267, allocations: 93.25 kB / 0.9175 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.445/2.711, allocations: 420.7 MB / 1.328 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/2.712, allocations: 0 / 1.328 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001783/2.712, allocations: 44.88 kB / 1.328 GB, free: 136.2 MB / 0.5886 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.004413/2.716, allocations: 1.925 MB / 1.33 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/2.716, allocations: 6.906 kB / 1.33 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007971/2.717, allocations: 222.6 kB / 1.33 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/2.721, allocations: 2.128 MB / 1.333 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/2.721, allocations: 41.91 kB / 1.333 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/2.721, allocations: 95.16 kB / 1.333 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002202/2.723, allocations: 1.58 MB / 1.334 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/2.725, allocations: 1.649 MB / 1.336 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/2.726, allocations: 8.75 kB / 1.336 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/2.726, allocations: 0 / 1.336 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/2.726, allocations: 40.72 kB / 1.336 GB, free: 133.5 MB / 0.5886 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.009423/2.735, allocations: 7.237 MB / 1.343 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/2.737, allocations: 1.257 MB / 1.344 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/2.737, allocations: 0.599 MB / 1.345 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005804/2.743, allocations: 3.743 MB / 1.348 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/2.743, allocations: 43.31 kB / 1.348 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=86): time 2.334e-06/2.743, allocations: 0 / 1.348 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86): time 0.002436/2.746, allocations: 1.112 MB / 1.35 GB, free: 125 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/2.746, allocations: 63.56 kB / 1.35 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/2.747, allocations: 1.237 MB / 1.351 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/2.747, allocations: 28.58 kB / 1.351 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/2.748, allocations: 0.7712 MB / 1.352 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/2.748, allocations: 299.1 kB / 1.352 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/2.748, allocations: 0 / 1.352 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001166/2.748, allocations: 372.7 kB / 1.352 GB, free: 123 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007498/2.749, allocations: 0.6374 MB / 1.353 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00091/2.75, allocations: 0.9645 MB / 1.354 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/2.752, allocations: 1.175 MB / 1.355 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/2.752, allocations: 2.188 kB / 1.355 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003764/2.756, allocations: 2.128 MB / 1.357 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007479/2.757, allocations: 3.49 MB / 1.36 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/2.757, allocations: 13.62 kB / 1.36 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/2.757, allocations: 14.09 kB / 1.36 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/2.758, allocations: 346.5 kB / 1.361 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/2.758, allocations: 23.45 kB / 1.361 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/2.76, allocations: 172.7 kB / 1.361 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/2.76, allocations: 64.8 kB / 1.361 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/2.76, allocations: 7 kB / 1.361 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003347/2.763, allocations: 1.96 MB / 1.363 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/2.763, allocations: 8 kB / 1.363 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/2.763, allocations: 16 kB / 1.363 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/2.764, allocations: 351.5 kB / 1.363 GB, free: 114 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/2.764, allocations: 19.94 kB / 1.363 GB, free: 114 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/2.766, allocations: 145.5 kB / 1.363 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/2.766, allocations: 59.98 kB / 1.364 GB, free: 113.8 MB / 0.5886 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.0003137/2.766, allocations: 145.6 kB / 1.364 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/2.766, allocations: 130.4 kB / 1.364 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/2.769, allocations: 1.23 MB / 1.365 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/2.769, allocations: 17.98 kB / 1.365 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/2.769, allocations: 4 kB / 1.365 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001656/2.77, allocations: 1.306 MB / 1.366 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/2.776, allocations: 2.735 MB / 1.369 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/2.776, allocations: 7.703 kB / 1.369 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/2.776, allocations: 175.8 kB / 1.369 GB, free: 108 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/2.776, allocations: 4 kB / 1.369 GB, free: 108 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/2.776, allocations: 15.98 kB / 1.369 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/2.776, allocations: 10.64 kB / 1.369 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.776, allocations: 3.938 kB / 1.369 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/2.779, allocations: 1.912 MB / 1.371 GB, free: 106 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/2.78, allocations: 395.1 kB / 1.371 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/2.78, allocations: 8 kB / 1.371 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006764/2.781, allocations: 39.94 kB / 1.371 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/2.781, allocations: 56.59 kB / 1.371 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/2.781, allocations: 39.98 kB / 1.372 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001138/2.782, allocations: 0.9498 MB / 1.372 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.71e-07/2.782, allocations: 0 / 1.372 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002671/2.785, allocations: 0.9543 MB / 1.373 GB, free: 103.5 MB / 0.5886 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.0009044/2.786, allocations: 487.5 kB / 1.374 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002647/2.788, allocations: 2.204 MB / 1.376 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/2.788, allocations: 0 / 1.376 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/2.789, allocations: 486.6 kB / 1.376 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/2.791, allocations: 0.6351 MB / 1.377 GB, free: 99.83 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/2.795, allocations: 2.955 MB / 1.38 GB, free: 96.88 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009232/2.796, allocations: 1.714 MB / 1.382 GB, free: 95.12 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002963/2.799, allocations: 1.177 MB / 1.383 GB, free: 94 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/2.8, allocations: 103.4 kB / 1.383 GB, free: 93.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/2.8, allocations: 0 / 1.383 GB, free: 93.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.03811/2.838, allocations: 28.03 MB / 1.41 GB, free: 66.43 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)