Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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.0007114/0.0007114, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003126/0.003126, allocations: 160.2 kB / 24.7 MB, free: 8.879 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.7854/0.7854, allocations: 158.6 MB / 186.5 MB, free: 3.047 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.1591/0.1591, allocations: 36.35 MB / 275.1 MB, free: 11 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.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 415.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.566e-05, allocations: 2.281 kB / 415.6 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.28/0.2801, allocations: 139.2 MB / 0.5418 GB, free: 1.66 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00748/0.2875, allocations: 8.843 MB / 0.5505 GB, free: 8.836 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.2877, allocations: 7.938 kB / 0.5505 GB, free: 8.828 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.288, allocations: 95.25 kB / 0.5506 GB, free: 8.734 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.2915, allocations: 2.115 MB / 0.5526 GB, free: 6.613 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.2958, allocations: 2.596 MB / 0.5552 GB, free: 4.012 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.2971, allocations: 2.262 MB / 0.5574 GB, free: 1.746 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.2976, allocations: 0.6169 MB / 0.558 GB, free: 1.121 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006542/0.2982, allocations: 0.94 MB / 0.5589 GB, free: 184 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.2997, allocations: 1.547 MB / 0.5604 GB, free: 14.62 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.2998, allocations: 116 kB / 0.5605 GB, free: 14.51 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.3056, allocations: 5.72 MB / 0.5661 GB, free: 8.781 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003582/0.306, allocations: 0.651 MB / 0.5667 GB, free: 8.129 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.3063, allocations: 0.5576 MB / 0.5673 GB, free: 7.57 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004672/0.311, allocations: 5.543 MB / 0.5727 GB, free: 2.016 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.311, allocations: 4 kB / 0.5727 GB, free: 2.012 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.311, allocations: 0 / 0.5727 GB, free: 2.012 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.311, allocations: 0 / 0.5727 GB, free: 2.012 MB / 474.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.002786/0.3138, allocations: 1.929 MB / 0.5746 GB, free: 44 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3138, allocations: 12.02 kB / 0.5746 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.3153, allocations: 287.5 kB / 0.5749 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.316, allocations: 0.5943 MB / 0.5754 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.316, allocations: 82.38 kB / 0.5755 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.3162, allocations: 132.2 kB / 0.5756 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.3182, allocations: 1.76 MB / 0.5774 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3182, allocations: 0.9375 kB / 0.5774 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/0.3183, allocations: 39.44 kB / 0.5774 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.3183, allocations: 24 kB / 0.5774 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.3204, allocations: 1.83 MB / 0.5792 GB, free: 11.25 MB / 490.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.004141/0.3246, allocations: 3.624 MB / 0.5828 GB, free: 7.574 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.3275, allocations: 2.365 MB / 0.5851 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009989/0.3285, allocations: 1.002 MB / 0.586 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/0.3477, allocations: 11.3 MB / 0.5971 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.3477, allocations: 52.56 kB / 0.5971 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=207): time 3.356e-06/0.3477, allocations: 0 / 0.5971 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of matching and sorting (n=207): time 0.00803/0.3558, allocations: 4.964 MB / 0.602 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3558, allocations: 73.41 kB / 0.602 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.3561, allocations: 341.6 kB / 0.6024 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.356e-05/0.3562, allocations: 61.7 kB / 0.6024 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3563, allocations: 215.5 kB / 0.6026 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007292/0.357, allocations: 0.7628 MB / 0.6034 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.3574, allocations: 343.6 kB / 0.6037 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.3575, allocations: 326 kB / 0.604 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3585, allocations: 0.9408 MB / 0.6049 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.3596, allocations: 1.2 MB / 0.6061 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.3619, allocations: 2.161 MB / 0.6082 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3619, allocations: 0 / 0.6082 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.003942/0.3659, allocations: 3.18 MB / 0.6113 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.3659, allocations: 10.66 kB / 0.6113 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3659, allocations: 3.938 kB / 0.6113 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005908/0.3718, allocations: 2.651 MB / 0.6139 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.3724, allocations: 239.7 kB / 0.6142 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004539/0.3769, allocations: 4.095 MB / 0.6182 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/0.3775, allocations: 154.9 kB / 0.6183 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.3777, allocations: 71.97 kB / 0.6184 GB, free: 2.891 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (84): * Single equations (assignments): 83 * 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,117)} Notification: Performance of prepare postOptimizeDAE: time 0.0004734/0.3781, allocations: 337.5 kB / 0.6187 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3783, allocations: 99.44 kB / 0.6188 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2089/0.5872, allocations: 9.178 MB / 0.6278 GB, free: 184.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000115/0.5873, allocations: 114.3 kB / 0.6279 GB, free: 184.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.5873, allocations: 3.375 kB / 0.6279 GB, free: 184.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.5874, allocations: 15.09 kB / 0.6279 GB, free: 184.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009764/0.5971, allocations: 10.29 MB / 0.6379 GB, free: 180.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5971, allocations: 1.062 kB / 0.6379 GB, free: 180.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.5986, allocations: 0.5101 MB / 0.6384 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/0.6011, allocations: 2.143 MB / 0.6405 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.6012, allocations: 82.28 kB / 0.6406 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006601/0.6078, allocations: 19.63 MB / 0.6598 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6078, allocations: 4.031 kB / 0.6598 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00707/0.6148, allocations: 9.914 MB / 0.6695 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.6154, allocations: 0.5924 MB / 0.67 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6155, allocations: 75.39 kB / 0.6701 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.616, allocations: 76.8 kB / 0.6702 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.6162, allocations: 189.8 kB / 0.6704 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.6163, allocations: 80.94 kB / 0.6704 GB, free: 151 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001859/0.6165, allocations: 299.1 kB / 0.6707 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.1e-08/0.6165, allocations: 0 / 0.6707 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00225/0.6187, allocations: 1.286 MB / 0.672 GB, free: 149.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * Number of discrete variables: 38 ($cse6.region3boundary,$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 (212): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 41 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002091/0.6208, allocations: 1.183 MB / 0.6731 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003951/0.6247, allocations: 3.931 MB / 0.677 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6247, allocations: 3.375 kB / 0.677 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.6271, allocations: 3.515 MB / 0.6804 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.6287, allocations: 0.7446 MB / 0.6811 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.6334, allocations: 6.859 MB / 0.6878 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.6339, allocations: 1.062 MB / 0.6889 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.6341, allocations: 116.5 kB / 0.689 GB, free: 132 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/0.6341, allocations: 0 / 0.689 GB, free: 132 MB / 0.5105 GB Notification: Performance of Templates: time 0.0515/0.6856, allocations: 100.7 MB / 0.7873 GB, free: 31.08 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.655405052006245] Failed to read output from testmodel.py, exit status != 0: 0.6914801569655538 0.697522904 0.384908778 Calling exit ...