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.001587/0.001587, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001752/0.001752, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.357/1.357, allocations: 207.7 MB / 235.3 MB, free: 9.82 MB / 190.1 MB " [Timeout remaining time 178] 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.2982/0.2982, allocations: 49.6 MB / 337.2 MB, free: 3.891 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 71.89 kB / 477.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1203, allocations: 62.43 MB / 0.5274 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.405/0.5254, allocations: 139.3 MB / 0.6634 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.5386, allocations: 8.857 MB / 0.6721 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004163/0.539, allocations: 11.81 kB / 0.6721 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.5394, allocations: 115.2 kB / 0.6722 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006176/0.5456, allocations: 2.078 MB / 0.6742 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007141/0.5528, allocations: 2.566 MB / 0.6767 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.5551, allocations: 2.016 MB / 0.6787 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006687/0.5558, allocations: 0.5001 MB / 0.6792 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007184/0.5565, allocations: 0.6042 MB / 0.6798 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.5595, allocations: 1.472 MB / 0.6812 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.5596, allocations: 100 kB / 0.6813 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/0.5711, allocations: 5.709 MB / 0.6869 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.5718, allocations: 0.5611 MB / 0.6874 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007938/0.5726, allocations: 0.5606 MB / 0.688 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007517/0.5801, allocations: 4.388 MB / 0.6923 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.5801, allocations: 4 kB / 0.6923 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5801, allocations: 0 / 0.6923 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.5801, allocations: 0 / 0.6923 GB, free: 11.73 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.004634/0.5847, allocations: 1.793 MB / 0.694 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5848, allocations: 8.031 kB / 0.694 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/0.5871, allocations: 284.1 kB / 0.6943 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.5883, allocations: 0.5481 MB / 0.6948 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/0.5883, allocations: 74.38 kB / 0.6949 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.5885, allocations: 88.56 kB / 0.695 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/0.5918, allocations: 1.663 MB / 0.6966 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.5919, allocations: 4 kB / 0.6966 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.592, allocations: 40 kB / 0.6967 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.592, allocations: 24 kB / 0.6967 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003456/0.5954, allocations: 1.666 MB / 0.6983 GB, free: 5.438 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.006955/0.6024, allocations: 4.199 MB / 0.7024 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003931/0.6063, allocations: 1.911 MB / 0.7043 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.6078, allocations: 0.8616 MB / 0.7051 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04154/0.6493, allocations: 11.3 MB / 0.7162 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.6493, allocations: 52.5 kB / 0.7162 GB, free: 3.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=180): time 4.288e-06/0.6494, allocations: 0 / 0.7162 GB, free: 3.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=180): time 0.06702/0.7164, allocations: 14.54 MB / 0.7304 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.7164, allocations: 73.34 kB / 0.7305 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.717, allocations: 409.4 kB / 0.7309 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.963e-05/0.7171, allocations: 49.7 kB / 0.7309 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.7173, allocations: 278.3 kB / 0.7312 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000628/0.7179, allocations: 0.6428 MB / 0.7318 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/0.7184, allocations: 287.5 kB / 0.7321 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.7186, allocations: 334 kB / 0.7324 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.7198, allocations: 0.7378 MB / 0.7331 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.7214, allocations: 0.9626 MB / 0.7341 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.7244, allocations: 1.876 MB / 0.7359 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.7244, allocations: 0 / 0.7359 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005006/0.7294, allocations: 2.696 MB / 0.7385 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.7295, allocations: 8 kB / 0.7385 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.7295, allocations: 4 kB / 0.7385 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.74, allocations: 2.224 MB / 0.7407 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.7408, allocations: 167.8 kB / 0.7409 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/0.747, allocations: 3.545 MB / 0.7443 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.748, allocations: 135 kB / 0.7445 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.7481, allocations: 71.97 kB / 0.7445 GB, free: 5.766 MB / 0.5762 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.0005507/0.7487, allocations: 329.5 kB / 0.7448 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.7489, allocations: 107.4 kB / 0.7449 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.7616, allocations: 9.248 MB / 0.754 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001212/0.7617, allocations: 115.8 kB / 0.7541 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7617, allocations: 0 / 0.7541 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/0.7618, allocations: 15.89 kB / 0.7541 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.7767, allocations: 10.51 MB / 0.7644 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.7767, allocations: 3.938 kB / 0.7644 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.7773, allocations: 123.8 kB / 0.7645 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2407/1.018, allocations: 4.897 MB / 0.7693 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/1.018, allocations: 55.28 kB / 0.7693 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009923/1.028, allocations: 8.199 MB / 0.7773 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.028, allocations: 2.547 kB / 0.7773 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00871/1.037, allocations: 7.549 MB / 0.7847 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009797/1.038, allocations: 0.5444 MB / 0.7852 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/1.038, allocations: 53.58 kB / 0.7853 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/1.039, allocations: 71.17 kB / 0.7854 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/1.039, allocations: 144.1 kB / 0.7855 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.039, allocations: 71.3 kB / 0.7856 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003607/1.04, allocations: 336 kB / 0.7859 GB, free: 200.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.04, allocations: 2.891 kB / 0.7859 GB, free: 200.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002624/1.042, allocations: 1.207 MB / 0.7871 GB, free: 200.3 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: 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 (75): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 21 * 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.00301/1.045, allocations: 1.03 MB / 0.7881 GB, free: 200.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006061/1.051, allocations: 3.437 MB / 0.7914 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.051, allocations: 0 / 0.7914 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004147/1.055, allocations: 2.435 MB / 0.7938 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.058, allocations: 0.7094 MB / 0.7945 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/1.064, allocations: 5.479 MB / 0.7998 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/1.064, allocations: 1.015 MB / 0.8008 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/1.064, allocations: 71.41 kB / 0.8009 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/1.064, allocations: 0 / 0.8009 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.04016/1.105, allocations: 42.72 MB / 0.8426 GB, free: 152.4 MB / 0.5919 GB " [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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.707389543764293] Failed to read output from testmodel.py, exit status != 0: 1.112535740248859 1.121033455 0.538664004 Calling exit ...