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.0008873/0.0008873, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009659/0.0009659, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8518/0.8518, allocations: 158.6 MB / 185.7 MB, free: 3.023 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.1752/0.1752, allocations: 36.35 MB / 274.3 MB, free: 10.91 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.098e-06/4.098e-06, allocations: 4 kB / 414.3 MB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/3.124e-05, allocations: 6.219 kB / 414.3 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2588/0.2588, allocations: 139.2 MB / 0.5406 GB, free: 1.945 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007014/0.2659, allocations: 8.836 MB / 0.5492 GB, free: 9.129 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.266, allocations: 7.938 kB / 0.5492 GB, free: 9.121 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.2664, allocations: 99.25 kB / 0.5493 GB, free: 9.023 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.2696, allocations: 2.114 MB / 0.5514 GB, free: 6.902 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.2732, allocations: 2.608 MB / 0.5539 GB, free: 4.289 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.2744, allocations: 2.043 MB / 0.5559 GB, free: 2.242 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.2747, allocations: 0.5078 MB / 0.5564 GB, free: 1.727 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.2753, allocations: 0.8112 MB / 0.5572 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.2767, allocations: 1.457 MB / 0.5586 GB, free: 15.45 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.299e-05/0.2768, allocations: 100 kB / 0.5587 GB, free: 15.35 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005647/0.2824, allocations: 5.712 MB / 0.5643 GB, free: 9.629 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.2827, allocations: 0.5925 MB / 0.5649 GB, free: 9.035 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.2831, allocations: 0.4952 MB / 0.5654 GB, free: 8.539 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004153/0.2872, allocations: 5.39 MB / 0.5706 GB, free: 3.137 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2872, allocations: 0 / 0.5706 GB, free: 3.137 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2872, allocations: 0 / 0.5706 GB, free: 3.137 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2872, allocations: 0 / 0.5706 GB, free: 3.137 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.002503/0.2897, allocations: 1.785 MB / 0.5724 GB, free: 1.312 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2898, allocations: 12.03 kB / 0.5724 GB, free: 1.301 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.2899, allocations: 148.2 kB / 0.5725 GB, free: 1.148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.2912, allocations: 284.1 kB / 0.5728 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.2918, allocations: 0.5475 MB / 0.5733 GB, free: 304 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.2918, allocations: 76.81 kB / 0.5734 GB, free: 232 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.2919, allocations: 88.38 kB / 0.5735 GB, free: 144 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.2939, allocations: 1.664 MB / 0.5751 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2939, allocations: 0 / 0.5751 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.6e-05/0.294, allocations: 47.94 kB / 0.5752 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.294, allocations: 24 kB / 0.5752 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.296, allocations: 1.67 MB / 0.5768 GB, free: 12.68 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.003761/0.2998, allocations: 4.307 MB / 0.581 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.302, allocations: 1.909 MB / 0.5829 GB, free: 6.359 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/0.3029, allocations: 0.8655 MB / 0.5837 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01856/0.3215, allocations: 11.3 MB / 0.5948 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3215, allocations: 52.56 kB / 0.5948 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 3.045e-06/0.3215, allocations: 0 / 0.5948 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=180): time 0.0358/0.3573, allocations: 14.55 MB / 0.609 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.3574, allocations: 73.34 kB / 0.6091 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.3577, allocations: 457.7 kB / 0.6095 GB, free: 11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/0.3578, allocations: 53.7 kB / 0.6096 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3579, allocations: 266.4 kB / 0.6098 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.3582, allocations: 0.6312 MB / 0.6105 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.3585, allocations: 299.5 kB / 0.6107 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.3586, allocations: 345.9 kB / 0.6111 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.3594, allocations: 0.7378 MB / 0.6118 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009711/0.3604, allocations: 0.949 MB / 0.6127 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.3622, allocations: 1.882 MB / 0.6146 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3622, allocations: 4 kB / 0.6146 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002969/0.3652, allocations: 2.692 MB / 0.6172 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3652, allocations: 8 kB / 0.6172 GB, free: 3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3652, allocations: 4 kB / 0.6172 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004977/0.3702, allocations: 2.236 MB / 0.6194 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.3705, allocations: 163.8 kB / 0.6195 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1466/0.5171, allocations: 3.541 MB / 0.623 GB, free: 186.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.5177, allocations: 143.2 kB / 0.6231 GB, free: 186.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.5178, allocations: 69.19 kB / 0.6232 GB, free: 186.4 MB / 0.5105 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.0003733/0.5182, allocations: 324.4 kB / 0.6235 GB, free: 186.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.5183, allocations: 109.1 kB / 0.6236 GB, free: 186.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008105/0.5264, allocations: 9.303 MB / 0.6327 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.832e-05/0.5265, allocations: 111.2 kB / 0.6328 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5265, allocations: 1.25 kB / 0.6328 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.5265, allocations: 11.86 kB / 0.6328 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007751/0.5343, allocations: 10.53 MB / 0.6431 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.5343, allocations: 0 / 0.6431 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.5346, allocations: 119 kB / 0.6432 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/0.5401, allocations: 4.927 MB / 0.648 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.428e-05/0.5402, allocations: 55.92 kB / 0.6481 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/0.5454, allocations: 8.169 MB / 0.6561 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5454, allocations: 7.922 kB / 0.6561 GB, free: 166.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004909/0.5503, allocations: 7.443 MB / 0.6633 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.5508, allocations: 0.536 MB / 0.6639 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5509, allocations: 62.66 kB / 0.6639 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.5513, allocations: 75.94 kB / 0.664 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.5515, allocations: 141.7 kB / 0.6641 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.5515, allocations: 71.97 kB / 0.6642 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002672/0.5518, allocations: 417.4 kB / 0.6646 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.5518, allocations: 0 / 0.6646 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00188/0.5537, allocations: 1.201 MB / 0.6658 GB, free: 156.3 MB / 0.5105 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.006699/0.5604, allocations: 7.471 MB / 0.6731 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003337/0.5637, allocations: 3.401 MB / 0.6764 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5637, allocations: 0 / 0.6764 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.5659, allocations: 2.399 MB / 0.6787 GB, free: 143 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.5677, allocations: 0.7404 MB / 0.6794 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.5801, allocations: 15.47 MB / 0.6946 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.5805, allocations: 1.005 MB / 0.6955 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004417/0.5809, allocations: 390.4 kB / 0.6959 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.5813, allocations: 0.7189 MB / 0.6966 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/0.5813, allocations: 4 kB / 0.6966 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0617/0.643, allocations: 88.02 MB / 0.7826 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.06, allocations: 19.94 kB / 0.7826 GB, free: 36.14 MB / 0.5105 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic_fmu --startTime=-50 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.295881583355367] Failed to read output from testmodel.py, exit status != 0: 11.19289345946163 11.199510324 10.910892049 Calling exit ...