Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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.0008765/0.0008765, allocations: 72.52 kB / 19.95 MB, free: 4.613 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.001736/0.001736, allocations: 169.6 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.9193/0.9193, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06242/0.06242, allocations: 18.13 MB / 278.1 MB, free: 11.54 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 415.1 MB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.654e-05, allocations: 2.281 kB / 415.1 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.004902/0.004928, allocations: 3.586 MB / 418.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.007257, allocations: 1.158 MB / 419.8 MB, free: 9.695 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.007703, allocations: 19.81 kB / 419.8 MB, free: 9.676 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.008093, allocations: 158.7 kB / 420 MB, free: 9.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005771/0.00867, allocations: 409.2 kB / 420.4 MB, free: 9.117 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.009298, allocations: 283.5 kB / 420.7 MB, free: 8.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.01069, allocations: 2.005 MB / 422.7 MB, free: 6.828 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.01177, allocations: 1.039 MB / 423.7 MB, free: 5.762 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009648/0.01273, allocations: 0.729 MB / 424.4 MB, free: 5.031 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008929/0.01363, allocations: 0.7833 MB / 425.2 MB, free: 4.246 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.01385, allocations: 220 kB / 425.4 MB, free: 4.031 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.01407, allocations: 216 kB / 425.7 MB, free: 3.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.01445, allocations: 0.6665 MB / 426.3 MB, free: 3.152 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.01498, allocations: 0.6277 MB / 426.9 MB, free: 2.523 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.01672, allocations: 2.463 MB / 429.4 MB, free: 56 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.01673, allocations: 4 kB / 429.4 MB, free: 52 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.01673, allocations: 0 / 429.4 MB, free: 52 kB / 394.7 MB Notification: Performance of Transformations before backend: time 4.024e-05/0.01677, allocations: 4 kB / 429.4 MB, free: 48 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003015/0.01979, allocations: 1.782 MB / 431.2 MB, free: 14.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.01983, allocations: 12.91 kB / 431.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.02, allocations: 160.6 kB / 431.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.0202, allocations: 136.1 kB / 431.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.02121, allocations: 0.7397 MB / 432.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.02127, allocations: 78.41 kB / 432.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.02143, allocations: 116.3 kB / 432.4 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.02317, allocations: 1.439 MB / 433.9 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.02319, allocations: 4.125 kB / 433.9 MB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.02327, allocations: 48.12 kB / 433.9 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.02328, allocations: 24 kB / 433.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.02481, allocations: 1.265 MB / 435.2 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005736/0.03055, allocations: 4.418 MB / 439.6 MB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.03315, allocations: 1.753 MB / 441.4 MB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.03393, allocations: 0.6793 MB / 442.1 MB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.03399, allocations: 9 kB / 442.1 MB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.03402, allocations: 43.56 kB / 442.1 MB, free: 3.133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=95): time 2.996e-06/0.03402, allocations: 0 / 442.1 MB, free: 3.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=98): time 0.1634/0.1975, allocations: 4.306 MB / 446.4 MB, free: 70.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1975, allocations: 64.94 kB / 446.5 MB, free: 70 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006823/0.1982, allocations: 0.6131 MB / 447.1 MB, free: 69.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.1984, allocations: 41.02 kB / 447.1 MB, free: 69.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1986, allocations: 456.6 kB / 447.6 MB, free: 69.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.1988, allocations: 414.2 kB / 448 MB, free: 69.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.199, allocations: 222.1 kB / 448.2 MB, free: 69.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.1991, allocations: 409.6 kB / 448.6 MB, free: 68.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007778/0.1999, allocations: 0.748 MB / 449.4 MB, free: 68.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/0.2007, allocations: 0.9465 MB / 450.3 MB, free: 67.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.2023, allocations: 1.776 MB / 452.1 MB, free: 66.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2023, allocations: 0 / 452.1 MB, free: 66.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002354/0.2046, allocations: 2.254 MB / 454.3 MB, free: 66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.2046, allocations: 6.406 kB / 454.3 MB, free: 66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.2046, allocations: 3.312 kB / 454.3 MB, free: 66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000708/0.2054, allocations: 417.6 kB / 454.7 MB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/0.2063, allocations: 398 kB / 455.1 MB, free: 65.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005293/0.2116, allocations: 14.68 MB / 469.8 MB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/0.2125, allocations: 69.42 kB / 469.9 MB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/0.2126, allocations: 50.3 kB / 469.9 MB, free: 51.98 MB / 410.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (150): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006544/0.2133, allocations: 389.8 kB / 470.3 MB, free: 51.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.2134, allocations: 85.73 kB / 470.4 MB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.2155, allocations: 1.807 MB / 472.2 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.2155, allocations: 11.88 kB / 472.2 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2155, allocations: 5.094 kB / 472.2 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2155, allocations: 6.891 kB / 472.2 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/0.2194, allocations: 3.327 MB / 475.6 MB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.2194, allocations: 2.969 kB / 475.6 MB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.2205, allocations: 358.3 kB / 475.9 MB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005151/0.221, allocations: 340.8 kB / 476.2 MB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.2211, allocations: 56.83 kB / 476.3 MB, free: 49.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/0.2254, allocations: 13.81 MB / 490.1 MB, free: 35.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.2254, allocations: 0 / 490.1 MB, free: 35.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.2282, allocations: 2.507 MB / 492.6 MB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.2284, allocations: 102.2 kB / 492.7 MB, free: 34.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2285, allocations: 58.45 kB / 492.8 MB, free: 34.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.2289, allocations: 50.62 kB / 492.8 MB, free: 34.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.2291, allocations: 92 kB / 492.9 MB, free: 34.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.2292, allocations: 25.5 kB / 492.9 MB, free: 34.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003511/0.2295, allocations: 433.4 kB / 493.4 MB, free: 34.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2295, allocations: 0 / 493.4 MB, free: 34.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009754/0.2305, allocations: 399.2 kB / 493.7 MB, free: 34.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.wall.T[5,3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002619/0.2331, allocations: 3.116 MB / 496.9 MB, free: 32.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.2355, allocations: 2.714 MB / 499.6 MB, free: 30.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2355, allocations: 0 / 499.6 MB, free: 30.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.2368, allocations: 1.862 MB / 0.4897 GB, free: 29.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.2377, allocations: 286.9 kB / 0.49 GB, free: 29.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.2546, allocations: 14.11 MB / 0.5037 GB, free: 22.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.2552, allocations: 0.6015 MB / 0.5043 GB, free: 22.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007943/0.256, allocations: 355.6 kB / 0.5047 GB, free: 22.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/0.2564, allocations: 413.4 kB / 0.5051 GB, free: 21.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2564, allocations: 0 / 0.5051 GB, free: 21.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/0.3145, allocations: 34.5 MB / 0.5387 GB, free: 11.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.717, allocations: 11.73 kB / 0.5388 GB, free: 11.14 MB / 426.7 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_004_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.898198139853776] Failed to read output from testmodel.py, exit status != 0: 8.818662420846522 8.829058521 8.80981844 Calling exit ...