Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 180.1 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 88.09 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001852/0.001853, allocations: 282.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.146e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4465, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7602/1.207, allocations: 379.6 MB / 1.128 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.207, allocations: 104.3 kB / 1.128 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.502/2.709, allocations: 417 MB / 1.535 GB, free: 183.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/2.709, allocations: 1.781 kB / 1.535 GB, free: 183.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001605/2.709, allocations: 49.5 kB / 1.535 GB, free: 183.2 MB / 0.698 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.003952/2.713, allocations: 1.916 MB / 1.537 GB, free: 181.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/2.713, allocations: 15.06 kB / 1.537 GB, free: 181.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/2.714, allocations: 225.1 kB / 1.538 GB, free: 181.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/2.717, allocations: 2.071 MB / 1.54 GB, free: 180.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/2.717, allocations: 44.16 kB / 1.54 GB, free: 180.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/2.718, allocations: 99.31 kB / 1.54 GB, free: 180.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00221/2.72, allocations: 1.577 MB / 1.541 GB, free: 179.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/2.722, allocations: 1.646 MB / 1.543 GB, free: 178.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/2.722, allocations: 3 kB / 1.543 GB, free: 178.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/2.722, allocations: 6.469 kB / 1.543 GB, free: 178.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/2.722, allocations: 42.28 kB / 1.543 GB, free: 178.8 MB / 0.698 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.01061/2.733, allocations: 7.22 MB / 1.55 GB, free: 173.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/2.734, allocations: 1.263 MB / 1.551 GB, free: 172.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/2.735, allocations: 0.5977 MB / 1.552 GB, free: 172.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005619/2.741, allocations: 3.753 MB / 1.555 GB, free: 168.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/2.741, allocations: 47.34 kB / 1.556 GB, free: 168.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=86): time 2.876e-06/2.741, allocations: 0 / 1.556 GB, free: 168.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=86): time 0.002201/2.743, allocations: 1.114 MB / 1.557 GB, free: 167.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/2.743, allocations: 60.19 kB / 1.557 GB, free: 167.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/2.744, allocations: 1.222 MB / 1.558 GB, free: 166.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/2.744, allocations: 29.7 kB / 1.558 GB, free: 166.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/2.745, allocations: 0.7677 MB / 1.559 GB, free: 165.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/2.745, allocations: 295.5 kB / 1.559 GB, free: 165.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/2.745, allocations: 3.188 kB / 1.559 GB, free: 165.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/2.745, allocations: 365.9 kB / 1.559 GB, free: 164.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/2.746, allocations: 0.6324 MB / 1.56 GB, free: 164.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/2.747, allocations: 0.9722 MB / 1.561 GB, free: 163 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/2.75, allocations: 1.179 MB / 1.562 GB, free: 161.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/2.75, allocations: 4 kB / 1.562 GB, free: 161.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004037/2.754, allocations: 2.128 MB / 1.564 GB, free: 159.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007934/2.755, allocations: 3.491 MB / 1.567 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/2.755, allocations: 8 kB / 1.567 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.156e-05/2.755, allocations: 18.12 kB / 1.567 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/2.756, allocations: 347.5 kB / 1.568 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.839e-05/2.756, allocations: 23.92 kB / 1.568 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/2.757, allocations: 170.4 kB / 1.568 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/2.758, allocations: 63.98 kB / 1.568 GB, free: 155.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/2.758, allocations: 4 kB / 1.568 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003583/2.761, allocations: 1.954 MB / 1.57 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/2.761, allocations: 15.06 kB / 1.57 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/2.761, allocations: 16 kB / 1.57 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/2.762, allocations: 347.5 kB / 1.57 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/2.763, allocations: 22 kB / 1.57 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/2.764, allocations: 140.8 kB / 1.57 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/2.764, allocations: 67.92 kB / 1.571 GB, free: 152.8 MB / 0.698 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.0002949/2.764, allocations: 134.5 kB / 1.571 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/2.765, allocations: 134.2 kB / 1.571 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/2.767, allocations: 1.233 MB / 1.572 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/2.767, allocations: 8 kB / 1.572 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/2.767, allocations: 4 kB / 1.572 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001678/2.769, allocations: 1.312 MB / 1.573 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/2.774, allocations: 2.731 MB / 1.576 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/2.774, allocations: 3.938 kB / 1.576 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/2.775, allocations: 179 kB / 1.576 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/2.775, allocations: 4 kB / 1.576 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/2.775, allocations: 15.98 kB / 1.576 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/2.775, allocations: 7.938 kB / 1.576 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/2.775, allocations: 0 / 1.576 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/2.778, allocations: 1.908 MB / 1.578 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/2.779, allocations: 391.2 kB / 1.578 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/2.779, allocations: 8 kB / 1.578 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009169/2.78, allocations: 49.94 kB / 1.578 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/2.78, allocations: 48.66 kB / 1.579 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-05/2.78, allocations: 42.5 kB / 1.579 GB, free: 144.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001336/2.781, allocations: 0.9424 MB / 1.579 GB, free: 143.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.781, allocations: 0 / 1.579 GB, free: 143.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003422/2.785, allocations: 0.9479 MB / 1.58 GB, free: 142.6 MB / 0.698 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.00112/2.786, allocations: 492.2 kB / 1.581 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003117/2.789, allocations: 2.203 MB / 1.583 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/2.789, allocations: 3.188 kB / 1.583 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005144/2.79, allocations: 490.6 kB / 1.583 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/2.792, allocations: 0.6264 MB / 1.584 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/2.797, allocations: 2.945 MB / 1.587 GB, free: 136.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/2.799, allocations: 1.693 MB / 1.589 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003711/2.803, allocations: 1.165 MB / 1.59 GB, free: 133.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/2.803, allocations: 99.41 kB / 1.59 GB, free: 133.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/2.803, allocations: 4 kB / 1.59 GB, free: 133.1 MB / 0.698 GB Notification: Performance of Templates: time 0.04403/2.847, allocations: 27.98 MB / 1.617 GB, free: 105.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)