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.0007966/0.0007966, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008194/0.0008194, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8135/0.8135, allocations: 158.6 MB / 185.7 MB, free: 3.027 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.1711/0.1711, allocations: 36.34 MB / 274.3 MB, free: 10.89 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 2.535e-06/2.535e-06, allocations: 4 kB / 414.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.707e-05, allocations: 2.281 kB / 414.3 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2846/0.2847, allocations: 139.2 MB / 0.5406 GB, free: 1.961 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007402/0.2921, allocations: 8.832 MB / 0.5492 GB, free: 9.148 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.2923, allocations: 11.88 kB / 0.5492 GB, free: 9.137 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.2927, allocations: 107.2 kB / 0.5493 GB, free: 9.031 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003743/0.2964, allocations: 2.107 MB / 0.5514 GB, free: 6.918 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.3011, allocations: 2.602 MB / 0.5539 GB, free: 4.312 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.3025, allocations: 2.043 MB / 0.5559 GB, free: 2.266 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.3029, allocations: 0.5078 MB / 0.5564 GB, free: 1.75 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006411/0.3036, allocations: 0.8112 MB / 0.5572 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.3055, allocations: 1.462 MB / 0.5586 GB, free: 15.46 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.3056, allocations: 100 kB / 0.5587 GB, free: 15.37 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007223/0.3129, allocations: 5.712 MB / 0.5643 GB, free: 9.648 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.3135, allocations: 0.5886 MB / 0.5649 GB, free: 9.059 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.314, allocations: 0.4952 MB / 0.5654 GB, free: 8.562 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006627/0.3206, allocations: 5.387 MB / 0.5706 GB, free: 3.164 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3206, allocations: 0 / 0.5706 GB, free: 3.164 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3206, allocations: 0 / 0.5706 GB, free: 3.164 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.3206, allocations: 7.922 kB / 0.5706 GB, free: 3.156 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.003322/0.3239, allocations: 1.785 MB / 0.5724 GB, free: 1.332 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.324, allocations: 8.031 kB / 0.5724 GB, free: 1.324 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.3241, allocations: 160.2 kB / 0.5725 GB, free: 1.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.3254, allocations: 280.1 kB / 0.5728 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.3261, allocations: 0.5514 MB / 0.5733 GB, free: 316 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.3261, allocations: 72.81 kB / 0.5734 GB, free: 248 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3262, allocations: 92.38 kB / 0.5735 GB, free: 156 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.3283, allocations: 1.656 MB / 0.5751 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.3283, allocations: 7.938 kB / 0.5751 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.3284, allocations: 43.94 kB / 0.5752 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.3284, allocations: 24 kB / 0.5752 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.3304, allocations: 1.666 MB / 0.5768 GB, free: 12.7 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.00437/0.3348, allocations: 4.311 MB / 0.581 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.3371, allocations: 1.909 MB / 0.5829 GB, free: 6.379 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008886/0.338, allocations: 0.8732 MB / 0.5837 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01929/0.3573, allocations: 11.29 MB / 0.5948 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.3574, allocations: 52.56 kB / 0.5948 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 3.546e-06/0.3574, allocations: 0 / 0.5948 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=180): time 0.03531/0.3927, allocations: 14.55 MB / 0.609 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3927, allocations: 77.34 kB / 0.6091 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.3931, allocations: 453.7 kB / 0.6095 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/0.3932, allocations: 57.7 kB / 0.6096 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3933, allocations: 262.4 kB / 0.6098 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/0.3938, allocations: 0.6351 MB / 0.6105 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.394, allocations: 295.5 kB / 0.6107 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.3941, allocations: 338 kB / 0.6111 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.395, allocations: 0.7378 MB / 0.6118 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/0.396, allocations: 0.9587 MB / 0.6127 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.398, allocations: 1.878 MB / 0.6146 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.398, allocations: 0 / 0.6146 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003109/0.4011, allocations: 2.695 MB / 0.6172 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4011, allocations: 8 kB / 0.6172 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4011, allocations: 4 kB / 0.6172 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005032/0.4062, allocations: 2.235 MB / 0.6194 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.4065, allocations: 163.8 kB / 0.6195 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1865/0.593, allocations: 3.538 MB / 0.623 GB, free: 186.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.5937, allocations: 143.2 kB / 0.6231 GB, free: 186.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.5938, allocations: 71.22 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.0004031/0.5942, allocations: 326 kB / 0.6235 GB, free: 186.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5943, allocations: 108.6 kB / 0.6236 GB, free: 186.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008566/0.6029, allocations: 9.305 MB / 0.6327 GB, free: 182.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.502e-05/0.603, allocations: 115.5 kB / 0.6328 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.603, allocations: 0 / 0.6328 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/0.603, allocations: 15.19 kB / 0.6328 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.6131, allocations: 10.52 MB / 0.6431 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.6131, allocations: 0 / 0.6431 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.6134, allocations: 116.8 kB / 0.6432 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006344/0.6198, allocations: 4.933 MB / 0.648 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.6199, allocations: 51.98 kB / 0.6481 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00517/0.6251, allocations: 8.173 MB / 0.6561 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6251, allocations: 3.938 kB / 0.6561 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005072/0.6302, allocations: 7.445 MB / 0.6633 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/0.6309, allocations: 0.5438 MB / 0.6639 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.631, allocations: 55.78 kB / 0.6639 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.6314, allocations: 74.34 kB / 0.664 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6315, allocations: 145.6 kB / 0.6641 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.6316, allocations: 75.97 kB / 0.6642 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002987/0.6319, allocations: 414.1 kB / 0.6646 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.6319, allocations: 0 / 0.6646 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002261/0.6342, allocations: 1.205 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.007265/0.6414, allocations: 7.465 MB / 0.6731 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00393/0.6454, allocations: 3.397 MB / 0.6764 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6454, allocations: 0 / 0.6764 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002521/0.6479, allocations: 2.402 MB / 0.6787 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.65, allocations: 0.7515 MB / 0.6795 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.6683, allocations: 15.46 MB / 0.6946 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.6689, allocations: 1.005 MB / 0.6955 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006622/0.6696, allocations: 387.2 kB / 0.6959 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.67, allocations: 0.7189 MB / 0.6966 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.915e-06/0.67, allocations: 4 kB / 0.6966 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08937/0.7594, allocations: 88.03 MB / 0.7826 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.23, allocations: 7.938 kB / 0.7826 GB, free: 36.2 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 & 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: 13.861061608418822] Failed to read output from testmodel.py, exit status != 0: 11.363119608722627 11.368395613 11.046347181 Calling exit ...