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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 111.8 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 190.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3038/0.3038, allocations: 48.84 MB / 320.1 MB, free: 11.01 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.89 kB / 450.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.115, allocations: 59.16 MB / 0.4977 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4145/0.5296, allocations: 160.8 MB / 0.6547 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.5408, allocations: 9.917 MB / 0.6644 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.5411, allocations: 7.938 kB / 0.6644 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.5415, allocations: 95.27 kB / 0.6645 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.5465, allocations: 2.107 MB / 0.6666 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007112/0.5536, allocations: 2.591 MB / 0.6691 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.5558, allocations: 2.013 MB / 0.6711 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000647/0.5564, allocations: 0.5296 MB / 0.6716 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006729/0.5571, allocations: 0.5926 MB / 0.6722 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.5599, allocations: 1.476 MB / 0.6736 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.56, allocations: 100 kB / 0.6737 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.5716, allocations: 5.939 MB / 0.6795 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006042/0.5722, allocations: 0.5612 MB / 0.6801 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007238/0.5729, allocations: 0.6303 MB / 0.6807 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008582/0.5815, allocations: 4.377 MB / 0.685 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5816, allocations: 0 / 0.685 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5816, allocations: 0 / 0.685 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.5816, allocations: 0 / 0.685 GB, free: 10.17 MB / 0.5294 GB 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.004678/0.5863, allocations: 1.833 MB / 0.6867 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5863, allocations: 15.88 kB / 0.6868 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.5888, allocations: 275.5 kB / 0.687 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.5897, allocations: 0.6043 MB / 0.6876 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.5898, allocations: 74.38 kB / 0.6877 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.5899, allocations: 92.56 kB / 0.6878 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/0.5932, allocations: 1.667 MB / 0.6894 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.5932, allocations: 0 / 0.6894 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.5933, allocations: 43.98 kB / 0.6894 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.5933, allocations: 24 kB / 0.6895 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.5966, allocations: 1.682 MB / 0.6911 GB, free: 3.73 MB / 0.5294 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.006581/0.6032, allocations: 5.618 MB / 0.6966 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/0.607, allocations: 2.035 MB / 0.6986 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.6084, allocations: 0.9593 MB / 0.6995 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04181/0.6502, allocations: 20.15 MB / 0.7192 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.6503, allocations: 52.56 kB / 0.7192 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 3.086e-06/0.6503, allocations: 0 / 0.7192 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.06361/0.7139, allocations: 14.67 MB / 0.7336 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.714, allocations: 77.33 kB / 0.7336 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.7146, allocations: 437.9 kB / 0.7341 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.7147, allocations: 57.7 kB / 0.7341 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.7149, allocations: 269.9 kB / 0.7344 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.7154, allocations: 0.6082 MB / 0.735 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004217/0.7158, allocations: 295.5 kB / 0.7352 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.716, allocations: 337.9 kB / 0.7356 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.7172, allocations: 0.7378 MB / 0.7363 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.7186, allocations: 0.9548 MB / 0.7372 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.7214, allocations: 1.878 MB / 0.7391 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.7214, allocations: 0 / 0.7391 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004718/0.7261, allocations: 2.749 MB / 0.7417 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.7262, allocations: 8 kB / 0.7417 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.7262, allocations: 8.391 kB / 0.7418 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/0.7364, allocations: 2.241 MB / 0.7439 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000785/0.7372, allocations: 159.8 kB / 0.7441 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.7431, allocations: 3.533 MB / 0.7475 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7441, allocations: 138.5 kB / 0.7477 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.7443, allocations: 72.83 kB / 0.7478 GB, free: 6.898 MB / 0.5919 GB 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 (65): * Single equations (assignments): 64 * 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,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0005389/0.7448, allocations: 341.4 kB / 0.7481 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.7451, allocations: 98.88 kB / 0.7482 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2544/0.9995, allocations: 9.34 MB / 0.7573 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001415/0.9997, allocations: 114.4 kB / 0.7574 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.9997, allocations: 5.375 kB / 0.7574 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-05/0.9997, allocations: 11.53 kB / 0.7574 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/1.013, allocations: 10.77 MB / 0.7679 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.013, allocations: 2.25 kB / 0.7679 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/1.013, allocations: 119.1 kB / 0.768 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01353/1.027, allocations: 4.843 MB / 0.7728 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003932/1.027, allocations: 52.88 kB / 0.7728 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/1.038, allocations: 7.871 MB / 0.7805 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.038, allocations: 0 / 0.7805 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00883/1.046, allocations: 7.54 MB / 0.7879 GB, free: 203.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/1.047, allocations: 0.6148 MB / 0.7885 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/1.047, allocations: 65.42 kB / 0.7885 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/1.048, allocations: 74.53 kB / 0.7886 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/1.048, allocations: 136.7 kB / 0.7887 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.049, allocations: 72.02 kB / 0.7888 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004978/1.049, allocations: 412.6 kB / 0.7892 GB, free: 203 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.049, allocations: 3.938 kB / 0.7892 GB, free: 203 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002745/1.052, allocations: 1.186 MB / 0.7904 GB, free: 202.8 MB / 0.5919 GB 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 (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00337/1.055, allocations: 1.011 MB / 0.7914 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005475/1.061, allocations: 3.428 MB / 0.7947 GB, free: 200.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.061, allocations: 0 / 0.7947 GB, free: 200.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00396/1.065, allocations: 2.757 MB / 0.7974 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/1.068, allocations: 0.7425 MB / 0.7981 GB, free: 197 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/1.074, allocations: 5.178 MB / 0.8032 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/1.074, allocations: 1.59 MB / 0.8047 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007495/1.075, allocations: 390.8 kB / 0.8051 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/1.075, allocations: 67.42 kB / 0.8052 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/1.075, allocations: 0 / 0.8052 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.07807/1.153, allocations: 74.31 MB / 0.8777 GB, free: 115.4 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1)