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.001411/0.001411, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001586/0.001586, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.658/1.658, allocations: 207.6 MB / 234.5 MB, free: 10 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.3498/0.3498, allocations: 49.56 MB / 336.3 MB, free: 4.105 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: "" <> 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: 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.002223/0.002223, allocations: 71.89 kB / 476.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1483, allocations: 62.42 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.5475/0.6958, allocations: 161.6 MB / 0.6839 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.7106, allocations: 10.01 MB / 0.6937 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005054/0.7111, allocations: 7.938 kB / 0.6937 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.7116, allocations: 111.2 kB / 0.6938 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.7172, allocations: 2.102 MB / 0.6958 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008903/0.7261, allocations: 2.603 MB / 0.6984 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.7286, allocations: 2.019 MB / 0.7004 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007221/0.7293, allocations: 0.5079 MB / 0.7009 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000822/0.7302, allocations: 0.5926 MB / 0.7014 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.7336, allocations: 1.488 MB / 0.7029 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.7338, allocations: 100 kB / 0.703 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01322/0.747, allocations: 5.96 MB / 0.7088 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007534/0.7477, allocations: 0.5728 MB / 0.7094 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009154/0.7487, allocations: 0.6342 MB / 0.71 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009897/0.7586, allocations: 4.384 MB / 0.7143 GB, free: 4.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.7586, allocations: 0 / 0.7143 GB, free: 4.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7586, allocations: 0 / 0.7143 GB, free: 4.938 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.7586, allocations: 3.938 kB / 0.7143 GB, free: 4.934 MB / 0.545 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.005313/0.7639, allocations: 1.793 MB / 0.716 GB, free: 3.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.764, allocations: 12.03 kB / 0.716 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002078/0.7642, allocations: 156.2 kB / 0.7162 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.7665, allocations: 284.1 kB / 0.7164 GB, free: 2.656 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.7677, allocations: 0.5481 MB / 0.717 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.7678, allocations: 81.5 kB / 0.7171 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.7679, allocations: 92.38 kB / 0.7171 GB, free: 1.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/0.7714, allocations: 1.659 MB / 0.7188 GB, free: 208 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.7714, allocations: 3.938 kB / 0.7188 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.7716, allocations: 39.98 kB / 0.7188 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.7716, allocations: 24 kB / 0.7188 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.775, allocations: 1.682 MB / 0.7205 GB, free: 14.45 MB / 0.5606 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.007996/0.783, allocations: 5.528 MB / 0.7259 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/0.7869, allocations: 1.921 MB / 0.7278 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.7883, allocations: 0.8654 MB / 0.7286 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03968/0.828, allocations: 11.26 MB / 0.7396 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.66e-05/0.8281, allocations: 52.56 kB / 0.7396 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=180): time 3.186e-06/0.8281, allocations: 0 / 0.7396 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=180): time 0.06544/0.8935, allocations: 14.55 MB / 0.7538 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.8936, allocations: 73.41 kB / 0.7539 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006416/0.8942, allocations: 445.8 kB / 0.7543 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.8944, allocations: 53.7 kB / 0.7544 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.8946, allocations: 266.5 kB / 0.7546 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007155/0.8953, allocations: 0.6467 MB / 0.7553 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004729/0.8958, allocations: 291.5 kB / 0.7556 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.896, allocations: 334 kB / 0.7559 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.8973, allocations: 0.7456 MB / 0.7566 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.8988, allocations: 0.9586 MB / 0.7575 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/0.902, allocations: 1.874 MB / 0.7594 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.902, allocations: 4 kB / 0.7594 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005254/0.9072, allocations: 2.692 MB / 0.762 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.9073, allocations: 8 kB / 0.762 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.9073, allocations: 4 kB / 0.762 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.9181, allocations: 2.24 MB / 0.7642 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.9189, allocations: 171.8 kB / 0.7644 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2907/1.21, allocations: 3.527 MB / 0.7678 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.211, allocations: 145.7 kB / 0.7679 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/1.211, allocations: 70.55 kB / 0.768 GB, free: 206.8 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.0005966/1.212, allocations: 330 kB / 0.7683 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/1.212, allocations: 104.3 kB / 0.7684 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.226, allocations: 9.295 MB / 0.7775 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001512/1.226, allocations: 109.6 kB / 0.7776 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.226, allocations: 3.25 kB / 0.7776 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.975e-05/1.226, allocations: 12.42 kB / 0.7776 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/1.243, allocations: 10.74 MB / 0.7881 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/1.243, allocations: 4.188 kB / 0.7881 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/1.244, allocations: 114.3 kB / 0.7882 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/1.258, allocations: 4.945 MB / 0.7931 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004556/1.258, allocations: 54.11 kB / 0.7931 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009514/1.268, allocations: 8.169 MB / 0.8011 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.268, allocations: 3.984 kB / 0.8011 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008038/1.276, allocations: 7.433 MB / 0.8083 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.277, allocations: 0.5485 MB / 0.8089 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/1.277, allocations: 54 kB / 0.8089 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/1.278, allocations: 82.27 kB / 0.809 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/1.278, allocations: 141.7 kB / 0.8091 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.278, allocations: 71.97 kB / 0.8092 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004549/1.279, allocations: 410.8 kB / 0.8096 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.279, allocations: 0 / 0.8096 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00329/1.282, allocations: 1.205 MB / 0.8108 GB, free: 185.1 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.01075/1.293, allocations: 7.347 MB / 0.818 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006241/1.299, allocations: 3.408 MB / 0.8213 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.299, allocations: 2.812 kB / 0.8213 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004183/1.303, allocations: 2.386 MB / 0.8236 GB, free: 172 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/1.307, allocations: 0.7576 MB / 0.8244 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/1.326, allocations: 15.43 MB / 0.8394 GB, free: 155.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/1.326, allocations: 1.591 MB / 0.841 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007178/1.327, allocations: 391.7 kB / 0.8414 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/1.328, allocations: 0.7102 MB / 0.842 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of SimCode: time 9.01e-07/1.328, allocations: 0 / 0.842 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1521/1.48, allocations: 96.97 MB / 0.9367 GB, free: 55.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.38/21.86, allocations: 4 kB / 0.9367 GB, free: 55.66 MB / 0.5919 GB " [Timeout remaining time 638] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic_res.csv --start-time -50 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 36.317041729002085] Failed to read output from testmodel.py, exit status != 0: 22.029272469000716 22.039589741 21.278256850000002 Calling exit ...