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.0009804/0.0009808, allocations: 180.9 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.503/0.503, allocations: 90.93 MB / 99.36 MB, free: 2.211 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.429/1.429, allocations: 221.5 MB / 343.2 MB, free: 1.613 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.0009425/0.0009424, allocations: 91.88 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.585e-05, allocations: 0 / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.176, allocations: 372.6 MB / 0.9175 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.176, allocations: 98.94 kB / 0.9176 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.462/2.639, allocations: 420.7 MB / 1.328 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/2.639, allocations: 0 / 1.328 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003012/2.639, allocations: 49.39 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.006358/2.645, allocations: 1.928 MB / 1.33 GB, free: 135.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/2.645, allocations: 10.78 kB / 1.33 GB, free: 135.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/2.647, allocations: 228 kB / 1.331 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00566/2.653, allocations: 2.124 MB / 1.333 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.045e-05/2.653, allocations: 43.5 kB / 1.333 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006085/2.654, allocations: 91.97 kB / 1.333 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003305/2.657, allocations: 1.578 MB / 1.334 GB, free: 133.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/2.661, allocations: 1.652 MB / 1.336 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/2.661, allocations: 5.625 kB / 1.336 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/2.661, allocations: 1.562 kB / 1.336 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/2.661, allocations: 43.81 kB / 1.336 GB, free: 133.3 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.01292/2.674, allocations: 7.232 MB / 1.343 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/2.676, allocations: 1.262 MB / 1.344 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/2.676, allocations: 0.6001 MB / 1.345 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006721/2.683, allocations: 3.745 MB / 1.348 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/2.683, allocations: 45.06 kB / 1.349 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=86): time 3.606e-06/2.683, allocations: 0 / 1.349 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86): time 0.002831/2.686, allocations: 1.108 MB / 1.35 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/2.686, allocations: 65.88 kB / 1.35 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/2.688, allocations: 1.234 MB / 1.351 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/2.689, allocations: 29.69 kB / 1.351 GB, free: 124 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007339/2.689, allocations: 0.7742 MB / 1.352 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/2.69, allocations: 292.8 kB / 1.352 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/2.69, allocations: 0 / 1.352 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001513/2.69, allocations: 376.9 kB / 1.352 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009518/2.691, allocations: 0.6302 MB / 1.353 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/2.692, allocations: 0.9733 MB / 1.354 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/2.695, allocations: 1.182 MB / 1.355 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/2.695, allocations: 3.938 kB / 1.355 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004498/2.7, allocations: 2.124 MB / 1.357 GB, free: 120 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.000819/2.7, allocations: 3.487 MB / 1.361 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/2.7, allocations: 7 kB / 1.361 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-05/2.7, allocations: 16.41 kB / 1.361 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/2.702, allocations: 356.2 kB / 1.361 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.454e-05/2.702, allocations: 17.03 kB / 1.361 GB, free: 116.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/2.703, allocations: 173.4 kB / 1.361 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/2.704, allocations: 63.7 kB / 1.361 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/2.704, allocations: 2.344 kB / 1.361 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00397/2.708, allocations: 1.964 MB / 1.363 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/2.708, allocations: 11.98 kB / 1.363 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/2.708, allocations: 16 kB / 1.363 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/2.709, allocations: 350.4 kB / 1.363 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.079e-05/2.709, allocations: 23.92 kB / 1.363 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/2.711, allocations: 137.9 kB / 1.364 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/2.711, allocations: 63.98 kB / 1.364 GB, free: 113.6 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.0003537/2.711, allocations: 132.6 kB / 1.364 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002412/2.714, allocations: 1.107 MB / 1.365 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/2.714, allocations: 137.2 kB / 1.365 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/2.717, allocations: 1.236 MB / 1.366 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/2.717, allocations: 8 kB / 1.366 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/2.717, allocations: 3.719 kB / 1.366 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001745/2.718, allocations: 1.317 MB / 1.367 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005495/2.724, allocations: 2.731 MB / 1.37 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/2.724, allocations: 4.094 kB / 1.37 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/2.725, allocations: 179.8 kB / 1.37 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/2.725, allocations: 4 kB / 1.37 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/2.725, allocations: 15.98 kB / 1.37 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/2.725, allocations: 7.938 kB / 1.37 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/2.725, allocations: 0 / 1.37 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/2.728, allocations: 1.911 MB / 1.372 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009509/2.729, allocations: 391.2 kB / 1.373 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/2.729, allocations: 7.984 kB / 1.373 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/2.73, allocations: 43.8 kB / 1.373 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/2.73, allocations: 68.53 kB / 1.373 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-05/2.731, allocations: 31.98 kB / 1.373 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001645/2.732, allocations: 0.9536 MB / 1.374 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.2e-07/2.732, allocations: 4 kB / 1.374 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003727/2.736, allocations: 0.9427 MB / 1.375 GB, free: 102.2 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.004073/2.74, allocations: 3.039 MB / 1.378 GB, free: 99.16 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003271/2.743, allocations: 2.211 MB / 1.38 GB, free: 96.96 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/2.743, allocations: 0 / 1.38 GB, free: 96.96 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005461/2.744, allocations: 486.6 kB / 1.38 GB, free: 96.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/2.747, allocations: 0.6282 MB / 1.381 GB, free: 95.89 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/2.755, allocations: 3.524 MB / 1.384 GB, free: 92.35 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/2.757, allocations: 1.71 MB / 1.386 GB, free: 90.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003938/2.761, allocations: 1.172 MB / 1.387 GB, free: 89.48 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000848/2.762, allocations: 0.5852 MB / 1.388 GB, free: 88.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.073e-06/2.762, allocations: 0 / 1.388 GB, free: 88.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07415/2.836, allocations: 42.34 MB / 1.429 GB, free: 47.14 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/2.836, allocations: 182.1 kB / 1.429 GB, free: 46.95 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.243/6.079, allocations: 0 / 1.429 GB, free: 46.95 MB / 0.5886 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)