Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.937/1.937, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.138e-06/4.138e-06, allocations: 0 / 0.7752 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.906e-05/5.32e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0152/0.01526, allocations: 10.29 MB / 0.7852 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00932/0.02458, allocations: 4.807 MB / 0.7899 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.0258, allocations: 47.62 kB / 0.7899 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.02644, allocations: 251.8 kB / 0.7902 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.02843, allocations: 0.8526 MB / 0.791 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.03053, allocations: 1.02 MB / 0.792 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00437/0.0349, allocations: 5.056 MB / 0.797 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.037, allocations: 1.628 MB / 0.7985 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.04131, allocations: 2.419 MB / 0.8009 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.04371, allocations: 1.43 MB / 0.8023 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003584/0.04407, allocations: 231.2 kB / 0.8025 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.04582, allocations: 0.9829 MB / 0.8035 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.04628, allocations: 0.5761 MB / 0.804 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.04745, allocations: 0.8186 MB / 0.8048 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.051, allocations: 2.411 MB / 0.8072 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.05101, allocations: 0 / 0.8072 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.873e-06/0.05101, allocations: 0 / 0.8072 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.052e-05/0.05105, allocations: 2.438 kB / 0.8072 GB, free: 4.59 MB / 0.7605 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.002938/0.05399, allocations: 2.243 MB / 0.8094 GB, free: 2.32 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.05404, allocations: 10.41 kB / 0.8094 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.05467, allocations: 297.5 kB / 0.8097 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.05626, allocations: 1.105 MB / 0.8108 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.05633, allocations: 118.8 kB / 0.8109 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.05651, allocations: 152 kB / 0.811 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.05783, allocations: 1.309 MB / 0.8123 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.05786, allocations: 4.828 kB / 0.8123 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/0.05795, allocations: 56 kB / 0.8124 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-05/0.058, allocations: 47.98 kB / 0.8124 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006766/0.05868, allocations: 0.5026 MB / 0.8129 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.06378, allocations: 3.895 MB / 0.8167 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.06445, allocations: 0.5727 MB / 0.8173 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.06468, allocations: 191.3 kB / 0.8174 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002586/0.06726, allocations: 1.365 MB / 0.8188 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.0673, allocations: 47.56 kB / 0.8188 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=88): time 3.336e-06/0.0673, allocations: 0.5625 kB / 0.8188 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of matching and sorting (n=88): time 0.0008506/0.06815, allocations: 0.5302 MB / 0.8193 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.06822, allocations: 60.41 kB / 0.8194 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.06918, allocations: 1.091 MB / 0.8205 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/0.06925, allocations: 49.7 kB / 0.8205 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.06957, allocations: 0.6272 MB / 0.8211 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.06976, allocations: 333.8 kB / 0.8214 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.07001, allocations: 271.3 kB / 0.8217 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.07011, allocations: 366.4 kB / 0.822 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.07035, allocations: 184.8 kB / 0.8222 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.07076, allocations: 0.5834 MB / 0.8228 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.07138, allocations: 0.7166 MB / 0.8235 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.07139, allocations: 4 kB / 0.8235 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0008931/0.07229, allocations: 0.7224 MB / 0.8242 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.07231, allocations: 15.94 kB / 0.8242 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.07232, allocations: 11.98 kB / 0.8242 GB, free: 2.512 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.07234, allocations: 16 kB / 0.8242 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.07299, allocations: 302.9 kB / 0.8245 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.073, allocations: 19.94 kB / 0.8246 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.07358, allocations: 147 kB / 0.8247 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.07366, allocations: 47.98 kB / 0.8247 GB, free: 1.992 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000523/0.07419, allocations: 285.7 kB / 0.825 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007541/0.07494, allocations: 0.5796 MB / 0.8256 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006192/0.07556, allocations: 0.7029 MB / 0.8263 GB, free: 160 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.057e-05/0.07557, allocations: 7.938 kB / 0.8263 GB, free: 152 kB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.0008875/0.07646, allocations: 0.7233 MB / 0.827 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.07647, allocations: 9.312 kB / 0.827 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.07648, allocations: 11.98 kB / 0.827 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.0765, allocations: 23.88 kB / 0.827 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/0.07709, allocations: 304.6 kB / 0.8273 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.07711, allocations: 19.94 kB / 0.8273 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.07758, allocations: 113.7 kB / 0.8274 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/0.07765, allocations: 43.98 kB / 0.8275 GB, free: 14.91 MB / 0.7917 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.07787, allocations: 259.8 kB / 0.8277 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.07804, allocations: 107.9 kB / 0.8278 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/0.07876, allocations: 0.5834 MB / 0.8284 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.07877, allocations: 11.98 kB / 0.8284 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.07877, allocations: 0 / 0.8284 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004088/0.07918, allocations: 0.5875 MB / 0.829 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.08094, allocations: 1.342 MB / 0.8303 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.08094, allocations: 128 / 0.8303 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.08133, allocations: 171.8 kB / 0.8305 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.08134, allocations: 4 kB / 0.8305 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.08137, allocations: 23.98 kB / 0.8305 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.08138, allocations: 4 kB / 0.8305 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.08138, allocations: 3.938 kB / 0.8305 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.08214, allocations: 0.7232 MB / 0.8312 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.08245, allocations: 194.8 kB / 0.8314 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.08255, allocations: 24 kB / 0.8314 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.08285, allocations: 27.98 kB / 0.8314 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.08292, allocations: 56.83 kB / 0.8315 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.08296, allocations: 23.98 kB / 0.8315 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004735/0.08343, allocations: 0.535 MB / 0.832 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.9e-07/0.08343, allocations: 0 / 0.832 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001794/0.08523, allocations: 0.951 MB / 0.833 GB, free: 9.117 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004414/0.08567, allocations: 247.9 kB / 0.8332 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.08678, allocations: 0.9063 MB / 0.8341 GB, free: 7.973 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/0.0868, allocations: 20.5 kB / 0.8341 GB, free: 7.953 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.087, allocations: 208.5 kB / 0.8343 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.08842, allocations: 0.7099 MB / 0.835 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.09171, allocations: 2.693 MB / 0.8376 GB, free: 4.305 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.09202, allocations: 412.1 kB / 0.838 GB, free: 3.871 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0008851/0.09291, allocations: 312.9 kB / 0.8383 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009932/0.0939, allocations: 0.4951 MB / 0.8388 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of SimCode: time 2.124e-06/0.0939, allocations: 0 / 0.8388 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of Templates: time 0.03938/0.1333, allocations: 32.49 MB / 0.8705 GB, free: 3.27 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.817064914852381]