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.00216/0.00216, allocations: 92.17 kB / 20.21 MB, free: 4.203 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.002482/0.002482, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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 1.59/1.59, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.049/1.049, allocations: 115 MB / 375.3 MB, free: 7.59 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.653e-06/1.653e-06, allocations: 0 / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.659e-05, allocations: 5.594 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.06763/0.06766, allocations: 55.67 MB / 0.5239 GB, free: 0.668 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03622/0.1039, allocations: 18.29 MB / 0.5418 GB, free: 14.34 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.1072, allocations: 126.9 kB / 0.5419 GB, free: 14.21 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006393/0.1136, allocations: 1.959 MB / 0.5438 GB, free: 12.25 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008932/0.1226, allocations: 2.763 MB / 0.5465 GB, free: 9.469 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008809/0.1314, allocations: 2.816 MB / 0.5492 GB, free: 6.648 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.1473, allocations: 8.505 MB / 0.5575 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003142/0.1505, allocations: 1.427 MB / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008945/0.1594, allocations: 3.163 MB / 0.562 GB, free: 9.508 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003163/0.1626, allocations: 1.266 MB / 0.5633 GB, free: 8.238 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005731/0.1632, allocations: 168 kB / 0.5634 GB, free: 8.074 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/0.167, allocations: 1.431 MB / 0.5648 GB, free: 6.641 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009893/0.168, allocations: 0.6967 MB / 0.5655 GB, free: 5.941 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.1697, allocations: 0.787 MB / 0.5663 GB, free: 5.152 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007351/0.177, allocations: 3.742 MB / 0.5699 GB, free: 1.398 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.177, allocations: 0 / 0.5699 GB, free: 1.398 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.177, allocations: 3.938 kB / 0.5699 GB, free: 1.395 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.747e-05/0.1771, allocations: 8 kB / 0.5699 GB, free: 1.387 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.006702/0.1838, allocations: 3.278 MB / 0.5731 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1839, allocations: 8.031 kB / 0.5731 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.1997, allocations: 2.145 MB / 0.5752 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006075/0.2057, allocations: 2.524 MB / 0.5777 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.2059, allocations: 98.16 kB / 0.5778 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.2062, allocations: 128 kB / 0.5779 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006588/0.2128, allocations: 2.274 MB / 0.5801 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.2128, allocations: 4 kB / 0.5801 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.213, allocations: 48 kB / 0.5802 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.213, allocations: 28 kB / 0.5802 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009054/0.2221, allocations: 2.233 MB / 0.5824 GB, free: 4.301 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.02267/0.2448, allocations: 9.741 MB / 0.5919 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005507/0.2503, allocations: 1.465 MB / 0.5933 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004067/0.2543, allocations: 1.018 MB / 0.5943 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008052/0.2624, allocations: 3.589 MB / 0.5978 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004342/0.2667, allocations: 1.242 MB / 0.599 GB, free: 2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 3.066e-06/0.2667, allocations: 0 / 0.599 GB, free: 2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57): time 0.0125/0.2792, allocations: 2.912 MB / 0.6019 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.2793, allocations: 67.84 kB / 0.602 GB, free: 15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/0.2837, allocations: 2.471 MB / 0.6044 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.2839, allocations: 45.7 kB / 0.6044 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.2856, allocations: 1.336 MB / 0.6057 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.2859, allocations: 226.2 kB / 0.6059 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005867/0.2865, allocations: 280.4 kB / 0.6062 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003466/0.2869, allocations: 0.5511 MB / 0.6067 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004013/0.2909, allocations: 1.01 MB / 0.6077 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/0.2961, allocations: 1.977 MB / 0.6097 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0078/0.3039, allocations: 2.33 MB / 0.6119 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/0.3039, allocations: 8 kB / 0.6119 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.009402/0.3133, allocations: 2.549 MB / 0.6144 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.3134, allocations: 45.64 kB / 0.6145 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.3134, allocations: 15.98 kB / 0.6145 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.564e-05/0.3134, allocations: 24 kB / 0.6145 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/0.3164, allocations: 491.7 kB / 0.615 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.182e-05/0.3164, allocations: 31.94 kB / 0.615 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.3196, allocations: 366.8 kB / 0.6154 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.3198, allocations: 67.95 kB / 0.6154 GB, free: 428 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00499/0.3248, allocations: 1.303 MB / 0.6167 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004979/0.3298, allocations: 1.977 MB / 0.6186 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007722/0.3375, allocations: 2.323 MB / 0.6209 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-05/0.3375, allocations: 4 kB / 0.6209 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.009583/0.3471, allocations: 2.557 MB / 0.6234 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.3472, allocations: 37.7 kB / 0.6234 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.3472, allocations: 19.94 kB / 0.6235 GB, free: 7.473 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.3472, allocations: 24.67 kB / 0.6235 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/0.3501, allocations: 491.3 kB / 0.6239 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.352e-05/0.3502, allocations: 35.91 kB / 0.624 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/0.3534, allocations: 343.2 kB / 0.6243 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.3536, allocations: 67.97 kB / 0.6244 GB, free: 6.531 MB / 0.5417 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.0005085/0.3541, allocations: 346.4 kB / 0.6247 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006301/0.3547, allocations: 242.5 kB / 0.6249 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008908/0.3637, allocations: 2.239 MB / 0.6271 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.3637, allocations: 15.98 kB / 0.6271 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3637, allocations: 0 / 0.6271 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007563/0.3713, allocations: 1.988 MB / 0.6291 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.3848, allocations: 4.551 MB / 0.6335 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.3848, allocations: 3.938 kB / 0.6335 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/0.3873, allocations: 347.6 kB / 0.6339 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.3875, allocations: 39.66 kB / 0.6339 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.3876, allocations: 31.91 kB / 0.6339 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.3895, allocations: 1.866 MB / 0.6357 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3895, allocations: 3.938 kB / 0.6357 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.4023, allocations: 3.407 MB / 0.6391 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.4036, allocations: 374.2 kB / 0.6394 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003325/0.4039, allocations: 23.92 kB / 0.6395 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/0.4065, allocations: 263.6 kB / 0.6397 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.4066, allocations: 56.55 kB / 0.6398 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.4068, allocations: 31.97 kB / 0.6398 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002524/0.4093, allocations: 1.356 MB / 0.6411 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.4093, allocations: 0 / 0.6411 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003053/0.4123, allocations: 0.9941 MB / 0.6421 GB, free: 3.922 MB / 0.5573 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.003391/0.4157, allocations: 0.6933 MB / 0.6428 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1906/0.6063, allocations: 3.646 MB / 0.6463 GB, free: 164.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.6064, allocations: 1.094 kB / 0.6463 GB, free: 164.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004257/0.6106, allocations: 1.22 MB / 0.6475 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/0.6151, allocations: 1.048 MB / 0.6485 GB, free: 164.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008061/0.6231, allocations: 4.063 MB / 0.6525 GB, free: 162.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/0.6239, allocations: 0.9625 MB / 0.6534 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002405/0.6263, allocations: 0.5264 MB / 0.654 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/0.627, allocations: 187.7 kB / 0.6541 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.433e-06/0.627, allocations: 3.656 kB / 0.6541 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.06018/0.6872, allocations: 43.1 MB / 0.6962 GB, free: 142.4 MB / 0.5573 GB " [Timeout remaining time 659] 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: 7.454665847006254]