Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.0009079/0.0009079, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001035/0.001035, allocations: 163 kB / 24.99 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8117/0.8117, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.162/0.162, allocations: 36.34 MB / 275.4 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 353.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.138e-05, allocations: 3.438 kB / 353.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2507/0.2508, allocations: 153.8 MB / 0.4957 GB, free: 15.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007754/0.2585, allocations: 9.8 MB / 0.5053 GB, free: 7.328 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.2587, allocations: 11.88 kB / 0.5053 GB, free: 7.316 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.2591, allocations: 103.2 kB / 0.5054 GB, free: 7.215 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.2626, allocations: 2.109 MB / 0.5075 GB, free: 5.098 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004377/0.267, allocations: 2.598 MB / 0.51 GB, free: 2.492 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.2683, allocations: 2.039 MB / 0.512 GB, free: 460 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.2687, allocations: 0.5434 MB / 0.5125 GB, free: 15.9 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.2694, allocations: 0.8228 MB / 0.5133 GB, free: 15.08 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.2711, allocations: 1.453 MB / 0.5147 GB, free: 13.61 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.2712, allocations: 100 kB / 0.5148 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006917/0.2781, allocations: 5.708 MB / 0.5204 GB, free: 7.801 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.2785, allocations: 0.5925 MB / 0.521 GB, free: 7.207 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.2789, allocations: 0.4952 MB / 0.5215 GB, free: 6.711 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004984/0.2839, allocations: 5.144 MB / 0.5265 GB, free: 1.555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2839, allocations: 0 / 0.5265 GB, free: 1.555 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2839, allocations: 0 / 0.5265 GB, free: 1.555 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.2839, allocations: 0 / 0.5265 GB, free: 1.555 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.002747/0.2866, allocations: 1.9 MB / 0.5283 GB, free: 15.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2867, allocations: 8.031 kB / 0.5284 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.2885, allocations: 474.5 kB / 0.5288 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006127/0.2891, allocations: 0.5813 MB / 0.5294 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.2891, allocations: 74.38 kB / 0.5294 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2892, allocations: 88.38 kB / 0.5295 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.291, allocations: 1.233 MB / 0.5307 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.291, allocations: 384 / 0.5307 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.2911, allocations: 43.94 kB / 0.5308 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.2911, allocations: 24 kB / 0.5308 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.2926, allocations: 0.9207 MB / 0.5317 GB, free: 12.08 MB / 410.7 MB 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.003451/0.2961, allocations: 4.22 MB / 0.5358 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.2979, allocations: 1.105 MB / 0.5369 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/0.2985, allocations: 440.3 kB / 0.5373 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/0.3178, allocations: 11.33 MB / 0.5484 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.3178, allocations: 59.38 kB / 0.5484 GB, free: 10.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 3.126e-06/0.3178, allocations: 0 / 0.5484 GB, free: 10.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=180): time 0.03782/0.3556, allocations: 14.19 MB / 0.5623 GB, free: 12.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3557, allocations: 69.41 kB / 0.5624 GB, free: 12.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.356, allocations: 422.5 kB / 0.5628 GB, free: 12.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.547e-05/0.3561, allocations: 57.7 kB / 0.5628 GB, free: 12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.3562, allocations: 333 kB / 0.5631 GB, free: 11.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.3566, allocations: 0.6468 MB / 0.5638 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.3569, allocations: 305.2 kB / 0.5641 GB, free: 10.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.357, allocations: 0.5042 MB / 0.5646 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.3575, allocations: 291.7 kB / 0.5648 GB, free: 9.914 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.3581, allocations: 0.5662 MB / 0.5654 GB, free: 9.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.3594, allocations: 0.9859 MB / 0.5664 GB, free: 8.207 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3594, allocations: 0 / 0.5664 GB, free: 8.207 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002373/0.3617, allocations: 1.601 MB / 0.5679 GB, free: 6.594 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3618, allocations: 4 kB / 0.5679 GB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3618, allocations: 6.938 kB / 0.5679 GB, free: 6.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005219/0.367, allocations: 1.91 MB / 0.5698 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.3673, allocations: 147.7 kB / 0.5699 GB, free: 4.523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.3701, allocations: 2.388 MB / 0.5723 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.3705, allocations: 135 kB / 0.5724 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-05/0.3706, allocations: 71.97 kB / 0.5725 GB, free: 1.902 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,108)} Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.3709, allocations: 224.5 kB / 0.5727 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.3711, allocations: 159.4 kB / 0.5728 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005737/0.3768, allocations: 6.088 MB / 0.5788 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.288e-05/0.3769, allocations: 107.8 kB / 0.5789 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3769, allocations: 4 kB / 0.5789 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.3769, allocations: 11.95 kB / 0.5789 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005544/0.3824, allocations: 6.229 MB / 0.585 GB, free: 4.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.3824, allocations: 0 / 0.585 GB, free: 4.859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.3827, allocations: 103.8 kB / 0.5851 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006285/0.389, allocations: 4.472 MB / 0.5894 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-05/0.3891, allocations: 55.97 kB / 0.5895 GB, free: 172 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004747/0.3938, allocations: 5.141 MB / 0.5945 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3938, allocations: 4 kB / 0.5945 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/0.3983, allocations: 4.813 MB / 0.5992 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/0.3988, allocations: 0.5163 MB / 0.5997 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3989, allocations: 59.78 kB / 0.5998 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.3993, allocations: 71.94 kB / 0.5998 GB, free: 5.344 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.3995, allocations: 149.6 kB / 0.6 GB, free: 5.199 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-05/0.3996, allocations: 71.97 kB / 0.6001 GB, free: 5.129 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.3999, allocations: 342.8 kB / 0.6004 GB, free: 4.793 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3999, allocations: 0 / 0.6004 GB, free: 4.793 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002209/0.4021, allocations: 1.205 MB / 0.6016 GB, free: 3.586 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,171)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002453/0.4045, allocations: 1.142 MB / 0.6027 GB, free: 2.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00306/0.4076, allocations: 2.065 MB / 0.6047 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4076, allocations: 0.5625 kB / 0.6047 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.106/0.5136, allocations: 1.671 MB / 0.6063 GB, free: 199.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.5155, allocations: 0.6965 MB / 0.607 GB, free: 199.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.5199, allocations: 4.326 MB / 0.6112 GB, free: 198.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.5202, allocations: 0.5156 MB / 0.6117 GB, free: 198.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.5205, allocations: 189.7 kB / 0.6119 GB, free: 198.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5207, allocations: 66.23 kB / 0.612 GB, free: 198.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5207, allocations: 0 / 0.612 GB, free: 198.2 MB / 474.7 MB Notification: Performance of Templates: time 0.04602/0.5667, allocations: 68.07 MB / 0.6784 GB, free: 133.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.652299138018861]