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.0009387/0.0009387, allocations: 97.77 kB / 16.3 MB, free: 5.57 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.0009638/0.0009638, allocations: 183.9 kB / 17.2 MB, free: 5.504 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.342/1.342, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2806/0.2806, allocations: 48.78 MB / 320.4 MB, free: 11.3 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.0005299/0.0005301, allocations: 17.16 kB / 391.1 MB, free: 50.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1142, allocations: 60.27 MB / 451.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.4368/0.551, allocations: 136.3 MB / 0.574 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.5614, allocations: 8.55 MB / 0.5823 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.562, allocations: 3.312 kB / 0.5823 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.5624, allocations: 85.38 kB / 0.5824 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004791/0.5672, allocations: 1.539 MB / 0.5839 GB, free: 244 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007579/0.5748, allocations: 2.069 MB / 0.5859 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5763, allocations: 1.208 MB / 0.5871 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.5769, allocations: 451.8 kB / 0.5875 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/0.5775, allocations: 473 kB / 0.588 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.5806, allocations: 1.888 MB / 0.5898 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.5808, allocations: 51.88 kB / 0.5899 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.5923, allocations: 5.74 MB / 0.5955 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007192/0.5931, allocations: 458.1 kB / 0.5959 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004714/0.5936, allocations: 236.1 kB / 0.5961 GB, free: 13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007257/0.6008, allocations: 2.927 MB / 0.599 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6009, allocations: 0 / 0.599 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.6009, allocations: 0 / 0.599 GB, free: 11.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.6009, allocations: 2.844 kB / 0.599 GB, free: 11.69 MB / 430.1 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.005197/0.6061, allocations: 1.655 MB / 0.6006 GB, free: 10.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6062, allocations: 7.469 kB / 0.6006 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.6086, allocations: 277.6 kB / 0.6009 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.6098, allocations: 0.5881 MB / 0.6015 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.6099, allocations: 72.42 kB / 0.6015 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.61, allocations: 91.84 kB / 0.6016 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.6133, allocations: 1.65 MB / 0.6032 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.6133, allocations: 2.281 kB / 0.6032 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.6135, allocations: 43.39 kB / 0.6033 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.6135, allocations: 23.44 kB / 0.6033 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00313/0.6166, allocations: 1.688 MB / 0.6049 GB, free: 9.191 MB / 430.1 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.007748/0.6244, allocations: 5.628 MB / 0.6104 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003744/0.6282, allocations: 2.052 MB / 0.6124 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04349/0.6717, allocations: 20.27 MB / 0.6322 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/0.6718, allocations: 54.44 kB / 0.6323 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=180): time 5.25e-06/0.6718, allocations: 4 kB / 0.6323 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=180): time 0.06394/0.7358, allocations: 14.37 MB / 0.6463 GB, free: 336 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.7359, allocations: 69.41 kB / 0.6464 GB, free: 252 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.7364, allocations: 445.8 kB / 0.6468 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.7366, allocations: 53.7 kB / 0.6469 GB, free: 15.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.7368, allocations: 276.2 kB / 0.6471 GB, free: 15.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005677/0.7374, allocations: 0.6064 MB / 0.6477 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.7375, allocations: 32 kB / 0.6478 GB, free: 14.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.7377, allocations: 406.7 kB / 0.6481 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.7389, allocations: 0.7378 MB / 0.6489 GB, free: 13.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.7402, allocations: 0.947 MB / 0.6498 GB, free: 12.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.7416, allocations: 0.9095 MB / 0.6507 GB, free: 11.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.7416, allocations: 0 / 0.6507 GB, free: 11.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00475/0.7464, allocations: 2.746 MB / 0.6534 GB, free: 9.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.7464, allocations: 11.94 kB / 0.6534 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.7465, allocations: 4 kB / 0.6534 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.7567, allocations: 2.235 MB / 0.6556 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008718/0.7576, allocations: 159.8 kB / 0.6557 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00649/0.7641, allocations: 3.533 MB / 0.6592 GB, free: 3.066 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.7655, allocations: 142.6 kB / 0.6593 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.7658, allocations: 71.92 kB / 0.6594 GB, free: 2.855 MB / 478.1 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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 100} Notification: Performance of prepare postOptimizeDAE: time 0.0006572/0.7664, allocations: 341.5 kB / 0.6597 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.7667, allocations: 98.88 kB / 0.6598 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.7783, allocations: 9.362 MB / 0.6689 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/0.7784, allocations: 115.8 kB / 0.669 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.7784, allocations: 0 / 0.669 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.7784, allocations: 15.89 kB / 0.6691 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.7904, allocations: 10.73 MB / 0.6795 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/0.7905, allocations: 4 kB / 0.6795 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.791, allocations: 119.8 kB / 0.6796 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01231/0.8033, allocations: 4.984 MB / 0.6845 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003549/0.8037, allocations: 55.97 kB / 0.6846 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009379/0.8131, allocations: 7.858 MB / 0.6922 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8132, allocations: 0 / 0.6922 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009539/0.8227, allocations: 7.514 MB / 0.6996 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.824, allocations: 0.6448 MB / 0.7002 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.8243, allocations: 40 kB / 0.7002 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/0.8252, allocations: 91.78 kB / 0.7003 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.8254, allocations: 135.6 kB / 0.7005 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.8256, allocations: 79.86 kB / 0.7005 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004689/0.826, allocations: 406.8 kB / 0.7009 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.826, allocations: 0 / 0.7009 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004118/0.8302, allocations: 1.195 MB / 0.7021 GB, free: 6.703 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 147} Notification: Performance of Backend phase and start with SimCode phase: time 0.00454/0.8347, allocations: 1.011 MB / 0.7031 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007461/0.8422, allocations: 3.384 MB / 0.7064 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.8423, allocations: 4.188 kB / 0.7064 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005166/0.8474, allocations: 2.701 MB / 0.709 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/0.8514, allocations: 0.6975 MB / 0.7097 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/0.8593, allocations: 6.358 MB / 0.7159 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.8604, allocations: 1.636 MB / 0.7175 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009859/0.8614, allocations: 393.6 kB / 0.7179 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.8616, allocations: 71.42 kB / 0.718 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of SimCode: time 1.523e-06/0.8616, allocations: 0 / 0.718 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of Templates: time 0.3337/1.195, allocations: 70.06 MB / 0.7864 GB, free: 194.4 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: