Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.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.0009948/0.0009948, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001115/0.001115, allocations: 169 kB / 24.25 MB, free: 304 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.9748/0.9748, 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.609/0.609, allocations: 115 MB / 376 MB, free: 7.672 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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.048e-05, allocations: 2.312 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.03889/0.03891, allocations: 55.84 MB / 0.5248 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02053/0.05944, allocations: 18.3 MB / 0.5426 GB, free: 14.16 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.06179, allocations: 130.9 kB / 0.5428 GB, free: 14.03 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.06572, allocations: 1.951 MB / 0.5447 GB, free: 12.07 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.07042, allocations: 2.763 MB / 0.5474 GB, free: 9.293 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.07503, allocations: 2.809 MB / 0.5501 GB, free: 6.477 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.008264/0.08329, allocations: 8.504 MB / 0.5584 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.08517, allocations: 1.43 MB / 0.5598 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004821/0.09, allocations: 3.168 MB / 0.5629 GB, free: 9.336 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.09162, allocations: 1.266 MB / 0.5641 GB, free: 8.066 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.0919, allocations: 168 kB / 0.5643 GB, free: 7.902 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.09398, allocations: 1.434 MB / 0.5657 GB, free: 6.465 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.09444, allocations: 0.6967 MB / 0.5664 GB, free: 5.766 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007557/0.0952, allocations: 0.7831 MB / 0.5671 GB, free: 4.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.09848, allocations: 2.651 MB / 0.5697 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.09848, allocations: 4 kB / 0.5697 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09848, allocations: 0 / 0.5697 GB, free: 2.316 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.827e-05/0.09853, allocations: 0 / 0.5697 GB, free: 2.316 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003398/0.1019, allocations: 3.086 MB / 0.5728 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.102, allocations: 12.03 kB / 0.5728 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/0.1082, allocations: 2.148 MB / 0.5749 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.1115, allocations: 2.525 MB / 0.5773 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.1116, allocations: 98.16 kB / 0.5774 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.1118, allocations: 136 kB / 0.5776 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.1142, allocations: 1.626 MB / 0.5791 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.1142, allocations: 0 / 0.5791 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.1143, allocations: 48 kB / 0.5792 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/0.1144, allocations: 31.94 kB / 0.5792 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1157, allocations: 0.7691 MB / 0.58 GB, free: 7.512 MB / 0.4948 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.009359/0.1251, allocations: 8.63 MB / 0.5884 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.1269, allocations: 0.8876 MB / 0.5893 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.1277, allocations: 361.5 kB / 0.5896 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003429/0.1311, allocations: 3.131 MB / 0.5927 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007159/0.1318, allocations: 0.5743 MB / 0.5932 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 3.005e-06/0.1319, allocations: 0 / 0.5932 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57): time 0.00196/0.1338, allocations: 1.093 MB / 0.5943 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1338, allocations: 59.91 kB / 0.5943 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.1358, allocations: 1.892 MB / 0.5962 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.682e-05/0.1359, allocations: 45.7 kB / 0.5962 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007276/0.1367, allocations: 1.195 MB / 0.5974 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.1368, allocations: 210.2 kB / 0.5976 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.1371, allocations: 252.5 kB / 0.5978 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1372, allocations: 0.5199 MB / 0.5984 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.1378, allocations: 334.5 kB / 0.5987 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008818/0.1387, allocations: 1.263 MB / 0.5999 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.1399, allocations: 1.199 MB / 0.6011 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.669e-06/0.1399, allocations: 12 kB / 0.6011 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002169/0.1421, allocations: 1.319 MB / 0.6024 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.1421, allocations: 45.62 kB / 0.6024 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.1421, allocations: 16 kB / 0.6024 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.1422, allocations: 20 kB / 0.6025 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.1435, allocations: 499.8 kB / 0.6029 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.1435, allocations: 35.86 kB / 0.603 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.145, allocations: 362.8 kB / 0.6033 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.1451, allocations: 63.97 kB / 0.6034 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009166/0.146, allocations: 479 kB / 0.6038 GB, free: 13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009066/0.1469, allocations: 1.263 MB / 0.6051 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001205/0.1481, allocations: 1.195 MB / 0.6062 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.608e-06/0.1481, allocations: 4 kB / 0.6062 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.001982/0.1501, allocations: 1.328 MB / 0.6075 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.1501, allocations: 37.7 kB / 0.6076 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1502, allocations: 19.94 kB / 0.6076 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1502, allocations: 20 kB / 0.6076 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.1514, allocations: 495.4 kB / 0.6081 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-05/0.1515, allocations: 35.84 kB / 0.6081 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.1529, allocations: 347.1 kB / 0.6084 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/0.153, allocations: 67.97 kB / 0.6085 GB, free: 7.496 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 133 * Array equations: 1 * Algorithm blocks: 1 * 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.0005233/0.1535, allocations: 347.6 kB / 0.6088 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.1538, allocations: 242.5 kB / 0.6091 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.1555, allocations: 1.059 MB / 0.6101 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.1555, allocations: 8 kB / 0.6101 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1555, allocations: 4 kB / 0.6101 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.1566, allocations: 0.8132 MB / 0.6109 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.1603, allocations: 2.861 MB / 0.6137 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.1603, allocations: 3.938 kB / 0.6137 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.1614, allocations: 351.5 kB / 0.614 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.1616, allocations: 27.67 kB / 0.6141 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/0.1616, allocations: 31.97 kB / 0.6141 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.1628, allocations: 1.784 MB / 0.6158 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1628, allocations: 0 / 0.6158 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.165, allocations: 1.397 MB / 0.6172 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.1655, allocations: 374.1 kB / 0.6176 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.1657, allocations: 12 kB / 0.6176 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.1668, allocations: 263.7 kB / 0.6178 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1669, allocations: 48.56 kB / 0.6179 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.167, allocations: 39.89 kB / 0.6179 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001213/0.1682, allocations: 1.071 MB / 0.619 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1682, allocations: 0 / 0.619 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002031/0.1702, allocations: 0.9901 MB / 0.6199 GB, free: 11.35 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.1715, allocations: 0.6532 MB / 0.6206 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.1738, allocations: 1.586 MB / 0.6221 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1739, allocations: 0 / 0.6221 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008364/0.1747, allocations: 0.5764 MB / 0.6227 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.1774, allocations: 1.04 MB / 0.6237 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.1818, allocations: 3.302 MB / 0.6269 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1821, allocations: 414.6 kB / 0.6273 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001495/0.1836, allocations: 0.5262 MB / 0.6278 GB, free: 3.312 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.1841, allocations: 180.4 kB / 0.628 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of SimCode: time 1.934e-06/0.1841, allocations: 0 / 0.628 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of Templates: time 0.2192/0.4033, allocations: 43.18 MB / 0.6702 GB, free: 160.7 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.734642660012469]