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.0008795/0.0008795, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0008638/0.0008638, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 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.8658/0.8658, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.5453/0.5453, allocations: 114 MB / 374.7 MB, free: 8.695 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.623e-06/1.623e-06, allocations: 0 / 0.5554 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.397e-05, allocations: 5.672 kB / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02015/0.02017, allocations: 26.31 MB / 0.5811 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00939/0.02956, allocations: 7.299 MB / 0.5882 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.03113, allocations: 51.56 kB / 0.5883 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.03215, allocations: 421 kB / 0.5887 GB, free: 96 kB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.03444, allocations: 1.099 MB / 0.5898 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.0365, allocations: 1.114 MB / 0.5908 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003945/0.04045, allocations: 5.116 MB / 0.5958 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.04197, allocations: 1.536 MB / 0.5973 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.04486, allocations: 2.631 MB / 0.5999 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.04606, allocations: 1.453 MB / 0.6013 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004622/0.04652, allocations: 228 kB / 0.6015 GB, free: 2.871 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.04806, allocations: 1.162 MB / 0.6027 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.0484, allocations: 0.58 MB / 0.6032 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005952/0.049, allocations: 0.8186 MB / 0.604 GB, free: 312 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.05163, allocations: 3.826 MB / 0.6078 GB, free: 12.47 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.05163, allocations: 0 / 0.6078 GB, free: 12.47 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.144e-06/0.05163, allocations: 7.938 kB / 0.6078 GB, free: 12.46 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.05165, allocations: 0 / 0.6078 GB, free: 12.46 MB / 0.573 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.002809/0.05446, allocations: 2.526 MB / 0.6103 GB, free: 9.895 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.05451, allocations: 8.625 kB / 0.6103 GB, free: 9.887 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.05496, allocations: 239.6 kB / 0.6105 GB, free: 9.652 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.05718, allocations: 1.784 MB / 0.6122 GB, free: 7.82 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.05725, allocations: 110.7 kB / 0.6123 GB, free: 7.711 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.05742, allocations: 152 kB / 0.6125 GB, free: 7.562 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.05972, allocations: 2.235 MB / 0.6147 GB, free: 5.207 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.05976, allocations: 0 / 0.6147 GB, free: 5.207 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.05986, allocations: 63.98 kB / 0.6147 GB, free: 5.145 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.0599, allocations: 43.98 kB / 0.6148 GB, free: 5.102 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.06201, allocations: 1.79 MB / 0.6165 GB, free: 3.305 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006508/0.06852, allocations: 6.151 MB / 0.6225 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.0698, allocations: 1.313 MB / 0.6238 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.07036, allocations: 0.6252 MB / 0.6244 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003026/0.07338, allocations: 2.401 MB / 0.6268 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.07341, allocations: 39.56 kB / 0.6268 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=88): time 2.255e-06/0.07341, allocations: 0 / 0.6268 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of matching and sorting (n=88): time 0.001583/0.07499, allocations: 1.507 MB / 0.6283 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.07503, allocations: 60.41 kB / 0.6283 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.07642, allocations: 1.429 MB / 0.6297 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.07647, allocations: 45.7 kB / 0.6298 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.0769, allocations: 0.7933 MB / 0.6305 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.07708, allocations: 329.2 kB / 0.6309 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.07734, allocations: 287.5 kB / 0.6311 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.07744, allocations: 357.9 kB / 0.6315 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.07812, allocations: 0.6956 MB / 0.6322 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008634/0.07898, allocations: 1.153 MB / 0.6333 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.08035, allocations: 1.62 MB / 0.6349 GB, free: 16 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.08035, allocations: 3.938 kB / 0.6349 GB, free: 12 kB / 0.5886 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00206/0.08241, allocations: 1.948 MB / 0.6368 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.08243, allocations: 8 kB / 0.6368 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.08244, allocations: 8 kB / 0.6368 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.08246, allocations: 16.78 kB / 0.6368 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.08312, allocations: 339.5 kB / 0.6371 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.08313, allocations: 23.92 kB / 0.6371 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.08364, allocations: 178.8 kB / 0.6373 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/0.08372, allocations: 63.92 kB / 0.6374 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001189/0.08491, allocations: 1.28 MB / 0.6386 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008689/0.08578, allocations: 1.15 MB / 0.6398 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001374/0.08715, allocations: 1.62 MB / 0.6413 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/0.08716, allocations: 4 kB / 0.6413 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002078/0.08924, allocations: 1.941 MB / 0.6432 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.08925, allocations: 12 kB / 0.6432 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.08926, allocations: 8 kB / 0.6433 GB, free: 7.117 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.08927, allocations: 16 kB / 0.6433 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.08989, allocations: 339.4 kB / 0.6436 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.0899, allocations: 24.42 kB / 0.6436 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.09036, allocations: 151.2 kB / 0.6438 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.09043, allocations: 59.98 kB / 0.6438 GB, free: 6.539 MB / 0.6042 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.0001907/0.09062, allocations: 259.8 kB / 0.6441 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.09078, allocations: 143.2 kB / 0.6442 GB, free: 6.137 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.09206, allocations: 1.268 MB / 0.6454 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.09208, allocations: 8 kB / 0.6454 GB, free: 4.855 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.09208, allocations: 4 kB / 0.6454 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009871/0.09307, allocations: 1.292 MB / 0.6467 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.09558, allocations: 2.571 MB / 0.6492 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.09559, allocations: 4 kB / 0.6492 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.096, allocations: 179.8 kB / 0.6494 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.096, allocations: 7.984 kB / 0.6494 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.09604, allocations: 24 kB / 0.6494 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.09605, allocations: 4 kB / 0.6494 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.09605, allocations: 4.125 kB / 0.6494 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.09791, allocations: 1.9 MB / 0.6513 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.09827, allocations: 306.8 kB / 0.6516 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/0.09837, allocations: 27.98 kB / 0.6516 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.09871, allocations: 43.95 kB / 0.6517 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.09878, allocations: 60.77 kB / 0.6517 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.09882, allocations: 39.97 kB / 0.6517 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008607/0.09968, allocations: 0.9925 MB / 0.6527 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/0.09968, allocations: 0 / 0.6527 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001603/0.1013, allocations: 0.9783 MB / 0.6537 GB, free: 12.27 MB / 0.6198 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.0005538/0.1018, allocations: 363 kB / 0.654 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.104, allocations: 2.222 MB / 0.6562 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.104, allocations: 4 kB / 0.6562 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.1045, allocations: 0.4935 MB / 0.6567 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.1062, allocations: 0.7034 MB / 0.6574 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.1096, allocations: 3.482 MB / 0.6608 GB, free: 5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.1102, allocations: 1.053 MB / 0.6618 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.1105, allocations: 128.5 kB / 0.6619 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.1105, allocations: 0 / 0.6619 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of Templates: time 0.2686/0.3791, allocations: 30.69 MB / 0.6919 GB, free: 147.9 MB / 0.6355 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.682288132607937] Failed to read output from testmodel.py, exit status != 0: 0.384688176214695 0.39134626 0.338074641 Calling exit ...