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/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.001072/0.001072, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.0009859/0.0009859, allocations: 169.3 kB / 24.25 MB, free: 308 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 0.9132/0.9132, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5986/0.5986, allocations: 115 MB / 376 MB, free: 7.684 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.071e-05, allocations: 2.312 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02205/0.02207, allocations: 29.75 MB / 0.4993 GB, free: 8.309 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.03269, allocations: 8.967 MB / 0.508 GB, free: 1.027 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009441/0.03364, allocations: 55.5 kB / 0.5081 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009679/0.03461, allocations: 414.2 kB / 0.5085 GB, free: 0.668 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.0367, allocations: 1.109 MB / 0.5096 GB, free: 15.78 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.03952, allocations: 1.39 MB / 0.5109 GB, free: 14.71 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003778/0.0433, allocations: 5.19 MB / 0.516 GB, free: 9.535 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.04459, allocations: 1.639 MB / 0.5176 GB, free: 7.871 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.04761, allocations: 2.693 MB / 0.5202 GB, free: 5.203 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.04888, allocations: 1.488 MB / 0.5217 GB, free: 3.711 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.04908, allocations: 236 kB / 0.5219 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.05069, allocations: 1.154 MB / 0.523 GB, free: 2.324 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003639/0.05106, allocations: 0.5956 MB / 0.5236 GB, free: 1.727 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006602/0.05172, allocations: 0.8341 MB / 0.5244 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.05394, allocations: 2.555 MB / 0.5269 GB, free: 14.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.05394, allocations: 0 / 0.5269 GB, free: 14.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.05394, allocations: 0 / 0.5269 GB, free: 14.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.05396, allocations: 4 kB / 0.5269 GB, free: 14.32 MB / 458.7 MB 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.003242/0.0572, allocations: 2.757 MB / 0.5296 GB, free: 11.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.05724, allocations: 12.03 kB / 0.5296 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/0.05789, allocations: 379.2 kB / 0.53 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.05966, allocations: 1.677 MB / 0.5316 GB, free: 9.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.05972, allocations: 110.7 kB / 0.5317 GB, free: 9.301 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.05989, allocations: 160 kB / 0.5319 GB, free: 9.145 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.06135, allocations: 1.397 MB / 0.5332 GB, free: 7.613 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.06137, allocations: 0 / 0.5332 GB, free: 7.613 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.073e-05/0.06147, allocations: 63.98 kB / 0.5333 GB, free: 7.551 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.06151, allocations: 40 kB / 0.5333 GB, free: 7.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.06253, allocations: 0.5929 MB / 0.5339 GB, free: 6.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005644/0.06817, allocations: 6.003 MB / 0.5398 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008298/0.069, allocations: 0.6114 MB / 0.5404 GB, free: 144 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.06934, allocations: 250.9 kB / 0.5406 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002941/0.07228, allocations: 2.003 MB / 0.5426 GB, free: 13.87 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.07231, allocations: 50.33 kB / 0.5426 GB, free: 13.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=88): time 1.944e-06/0.07231, allocations: 0 / 0.5426 GB, free: 13.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.001071/0.07338, allocations: 0.7182 MB / 0.5433 GB, free: 13.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.07342, allocations: 60.41 kB / 0.5434 GB, free: 13.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.07446, allocations: 1.304 MB / 0.5447 GB, free: 11.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.07452, allocations: 45.7 kB / 0.5447 GB, free: 11.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/0.07511, allocations: 0.9054 MB / 0.5456 GB, free: 10.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.07538, allocations: 341.3 kB / 0.5459 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.07582, allocations: 349.1 kB / 0.5462 GB, free: 10.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.07596, allocations: 476.8 kB / 0.5467 GB, free: 9.562 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.07648, allocations: 207.5 kB / 0.5469 GB, free: 9.355 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/0.07737, allocations: 0.8824 MB / 0.5478 GB, free: 8.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.07872, allocations: 0.9863 MB / 0.5487 GB, free: 7.039 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.07873, allocations: 4 kB / 0.5487 GB, free: 7.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002028/0.08076, allocations: 1.074 MB / 0.5498 GB, free: 5.953 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.08078, allocations: 8 kB / 0.5498 GB, free: 5.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.0808, allocations: 12.09 kB / 0.5498 GB, free: 5.934 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/0.08083, allocations: 24 kB / 0.5498 GB, free: 5.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.08183, allocations: 359.4 kB / 0.5502 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.831e-05/0.08186, allocations: 19.94 kB / 0.5502 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/0.08263, allocations: 194.7 kB / 0.5504 GB, free: 5.348 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.08275, allocations: 71.92 kB / 0.5504 GB, free: 5.277 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000738/0.08349, allocations: 346.7 kB / 0.5508 GB, free: 4.934 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009181/0.08441, allocations: 0.8785 MB / 0.5516 GB, free: 3.816 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001326/0.08573, allocations: 0.9901 MB / 0.5526 GB, free: 2.617 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.739e-06/0.08574, allocations: 4 kB / 0.5526 GB, free: 2.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=184) (initialization_lambda0): time 0.002008/0.08775, allocations: 1.074 MB / 0.5536 GB, free: 1.531 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.08777, allocations: 10.34 kB / 0.5536 GB, free: 1.523 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.08778, allocations: 12.88 kB / 0.5537 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.0878, allocations: 16 kB / 0.5537 GB, free: 1.496 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/0.08878, allocations: 359.4 kB / 0.554 GB, free: 1.145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.07e-05/0.08881, allocations: 27.92 kB / 0.554 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.08939, allocations: 155.1 kB / 0.5542 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.08947, allocations: 63.98 kB / 0.5542 GB, free: 0.9023 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (184): * Single equations (assignments): 184 * 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.0002763/0.08975, allocations: 351.6 kB / 0.5546 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.08997, allocations: 179 kB / 0.5548 GB, free: 384 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009578/0.09092, allocations: 0.7246 MB / 0.5555 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.09094, allocations: 8 kB / 0.5555 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.09094, allocations: 0 / 0.5555 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006198/0.09156, allocations: 0.7457 MB / 0.5562 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.09379, allocations: 2.062 MB / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.09379, allocations: 0 / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.09422, allocations: 183.8 kB / 0.5584 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.09422, allocations: 8.125 kB / 0.5584 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.09426, allocations: 23.98 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.09427, allocations: 4 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.09427, allocations: 4 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.09537, allocations: 0.9685 MB / 0.5594 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.09569, allocations: 282.7 kB / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.0958, allocations: 23.98 kB / 0.5597 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.09614, allocations: 43.95 kB / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.09621, allocations: 64.77 kB / 0.5598 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.09625, allocations: 35.98 kB / 0.5598 GB, free: 11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006823/0.09694, allocations: 0.7205 MB / 0.5605 GB, free: 10.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09694, allocations: 0 / 0.5605 GB, free: 10.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001575/0.09851, allocations: 0.9977 MB / 0.5615 GB, free: 9.277 MB / 490.7 MB 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.0005122/0.09902, allocations: 364.3 kB / 0.5618 GB, free: 8.918 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.1005, allocations: 1.202 MB / 0.563 GB, free: 7.715 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1006, allocations: 4.188 kB / 0.563 GB, free: 7.711 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.1009, allocations: 279.2 kB / 0.5633 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.1024, allocations: 0.7144 MB / 0.564 GB, free: 6.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.1057, allocations: 2.912 MB / 0.5668 GB, free: 3.793 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1061, allocations: 0.5003 MB / 0.5673 GB, free: 3.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001211/0.1073, allocations: 0.7634 MB / 0.568 GB, free: 2.523 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.1075, allocations: 124.5 kB / 0.5682 GB, free: 2.402 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1075, allocations: 3.938 kB / 0.5682 GB, free: 2.398 MB / 490.7 MB Notification: Performance of Templates: time 0.0314/0.1389, allocations: 31.25 MB / 0.5987 GB, free: 3.738 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.118410130031407]