Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001341/0.001341, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.00145/0.00145, allocations: 213.5 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1943/0.1943, allocations: 26.82 MB / 340.7 MB, free: 8.215 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0-dev_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002055/0.002055, allocations: 71.89 kB / 476.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2946, allocations: 60.48 MB / 0.5247 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1975/0.4921, allocations: 164.5 MB / 0.6853 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.5059, allocations: 10.03 MB / 0.6951 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.5064, allocations: 11.88 kB / 0.6951 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.5069, allocations: 103.2 kB / 0.6952 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007511/0.5144, allocations: 2.101 MB / 0.6973 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007213/0.5217, allocations: 2.619 MB / 0.6999 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.524, allocations: 2.019 MB / 0.7018 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007079/0.5247, allocations: 0.5001 MB / 0.7023 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.5254, allocations: 0.6043 MB / 0.7029 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002898/0.5283, allocations: 1.488 MB / 0.7044 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.5285, allocations: 100 kB / 0.7045 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01199/0.5404, allocations: 5.967 MB / 0.7103 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006612/0.5411, allocations: 0.5689 MB / 0.7108 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009433/0.542, allocations: 0.6342 MB / 0.7115 GB, free: 5.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008909/0.551, allocations: 4.391 MB / 0.7157 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.551, allocations: 0 / 0.7157 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.551, allocations: 0 / 0.7157 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.551, allocations: 0 / 0.7157 GB, free: 0.8672 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.004903/0.5559, allocations: 1.804 MB / 0.7175 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5559, allocations: 12.03 kB / 0.7175 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/0.5561, allocations: 152.2 kB / 0.7177 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.5585, allocations: 288 kB / 0.7179 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.5596, allocations: 0.5559 MB / 0.7185 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.5596, allocations: 70.38 kB / 0.7185 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.5598, allocations: 96.12 kB / 0.7186 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/0.5632, allocations: 1.655 MB / 0.7203 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.5633, allocations: 7.922 kB / 0.7203 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.5634, allocations: 36 kB / 0.7203 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.5634, allocations: 28 kB / 0.7203 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/0.5669, allocations: 1.694 MB / 0.722 GB, free: 10.36 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.00783/0.5747, allocations: 5.501 MB / 0.7274 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/0.5786, allocations: 1.911 MB / 0.7292 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.5801, allocations: 0.8693 MB / 0.7301 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2595/0.8395, allocations: 11.7 MB / 0.7415 GB, free: 193 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.8396, allocations: 51.31 kB / 0.7415 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=180): time 3.156e-06/0.8396, allocations: 0 / 0.7415 GB, free: 192.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180): time 0.06155/0.9011, allocations: 14.55 MB / 0.7557 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.9012, allocations: 73.06 kB / 0.7558 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.9016, allocations: 458 kB / 0.7563 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-05/0.9017, allocations: 49.7 kB / 0.7563 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.9018, allocations: 268.6 kB / 0.7566 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.9022, allocations: 0.6375 MB / 0.7572 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.9025, allocations: 291.5 kB / 0.7575 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.9025, allocations: 341.1 kB / 0.7578 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00097/0.9035, allocations: 0.7417 MB / 0.7585 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.9045, allocations: 0.9587 MB / 0.7594 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.9067, allocations: 1.874 MB / 0.7613 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.9067, allocations: 7.938 kB / 0.7613 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003773/0.9105, allocations: 2.689 MB / 0.7639 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.9105, allocations: 11.98 kB / 0.7639 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.9105, allocations: 8 kB / 0.7639 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009738/0.9202, allocations: 2.238 MB / 0.7661 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.9209, allocations: 163.8 kB / 0.7663 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/0.9258, allocations: 3.535 MB / 0.7697 GB, free: 170 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.9267, allocations: 149.5 kB / 0.7699 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.9269, allocations: 67.97 kB / 0.7699 GB, free: 169.8 MB / 0.5606 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.0004711/0.9273, allocations: 332.1 kB / 0.7702 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.9275, allocations: 107.3 kB / 0.7703 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008967/0.9365, allocations: 9.292 MB / 0.7794 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-05/0.9366, allocations: 111.8 kB / 0.7795 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.9366, allocations: 3.938 kB / 0.7795 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.9366, allocations: 11.95 kB / 0.7795 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009411/0.946, allocations: 10.73 MB / 0.79 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.946, allocations: 0 / 0.79 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.9465, allocations: 119.8 kB / 0.7901 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01015/0.9567, allocations: 4.947 MB / 0.795 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/0.957, allocations: 55.97 kB / 0.795 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007586/0.9645, allocations: 8.17 MB / 0.803 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9645, allocations: 0 / 0.803 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/0.9714, allocations: 7.442 MB / 0.8103 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/0.9723, allocations: 0.5397 MB / 0.8108 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.9725, allocations: 55.84 kB / 0.8109 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/0.9733, allocations: 75.94 kB / 0.8109 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.9735, allocations: 145.6 kB / 0.8111 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.9736, allocations: 71.97 kB / 0.8111 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003592/0.974, allocations: 414.8 kB / 0.8115 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.974, allocations: 0 / 0.8115 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002597/0.9766, allocations: 1.213 MB / 0.8127 GB, free: 125.7 MB / 0.5606 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.01011/0.9867, allocations: 7.352 MB / 0.8199 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005451/0.9922, allocations: 3.389 MB / 0.8232 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.9922, allocations: 4 kB / 0.8232 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003619/0.9958, allocations: 2.389 MB / 0.8255 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/0.9987, allocations: 0.7494 MB / 0.8263 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/1.017, allocations: 15.42 MB / 0.8413 GB, free: 96.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/1.017, allocations: 1.591 MB / 0.8429 GB, free: 94.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006699/1.018, allocations: 387.9 kB / 0.8433 GB, free: 94.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/1.019, allocations: 0.7141 MB / 0.844 GB, free: 93.36 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/1.019, allocations: 0 / 0.844 GB, free: 93.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/1.144, allocations: 97.07 MB / 0.9388 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.5/21.64, allocations: 8 kB / 0.9388 GB, free: 12.55 MB / 0.5762 GB " [Timeout remaining time 638] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_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_4_0_0-dev_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.76118106301874] Failed to read output from testmodel.py, exit status != 0: 21.816590034984984 22.058108077 21.282131075 Calling exit ...