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.001675/0.001675, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001579/0.001579, allocations: 211.8 kB / 23.01 MB, free: 4.992 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1372/0.1372, allocations: 24.03 MB / 337.2 MB, free: 11.44 MB / 270.1 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: AES 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.002122/0.002122, allocations: 75.89 kB / 473.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.354, allocations: 59.57 MB / 0.5209 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.00576/0.3598, allocations: 3.577 MB / 0.5244 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3622, allocations: 1.164 MB / 0.5255 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.3625, allocations: 19.59 kB / 0.5256 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.3629, allocations: 146.8 kB / 0.5257 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006975/0.3636, allocations: 398.8 kB / 0.5261 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009725/0.3646, allocations: 285 kB / 0.5264 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002428/0.367, allocations: 1.969 MB / 0.5283 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.3685, allocations: 1.032 MB / 0.5293 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.3698, allocations: 0.7571 MB / 0.53 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.3712, allocations: 0.8305 MB / 0.5308 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000388/0.3716, allocations: 216.1 kB / 0.531 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.372, allocations: 217.8 kB / 0.5312 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006769/0.3727, allocations: 0.636 MB / 0.5319 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.3738, allocations: 0.7013 MB / 0.5326 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.3764, allocations: 2.383 MB / 0.5349 GB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3764, allocations: 0.7969 kB / 0.5349 GB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3764, allocations: 0 / 0.5349 GB, free: 2.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.038e-05/0.3765, allocations: 1.188 kB / 0.5349 GB, free: 2.641 MB / 382.1 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.004672/0.3811, allocations: 1.791 MB / 0.5366 GB, free: 1.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3812, allocations: 11.52 kB / 0.5366 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.3814, allocations: 164 kB / 0.5368 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.3817, allocations: 137.4 kB / 0.5369 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.3832, allocations: 0.7425 MB / 0.5377 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.3832, allocations: 75.91 kB / 0.5377 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.3835, allocations: 120 kB / 0.5378 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.3861, allocations: 1.45 MB / 0.5393 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.3861, allocations: 1.156 kB / 0.5393 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.3862, allocations: 40.06 kB / 0.5393 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.3862, allocations: 24.81 kB / 0.5393 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.3885, allocations: 1.257 MB / 0.5405 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009676/0.3982, allocations: 4.422 MB / 0.5449 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/0.4025, allocations: 1.757 MB / 0.5466 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.4037, allocations: 0.6806 MB / 0.5472 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/0.4037, allocations: 9.594 kB / 0.5473 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.4038, allocations: 48.5 kB / 0.5473 GB, free: 11.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 3.657e-06/0.4038, allocations: 0 / 0.5473 GB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.01057/0.4143, allocations: 4.299 MB / 0.5515 GB, free: 9.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.4144, allocations: 70.41 kB / 0.5516 GB, free: 9.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.4155, allocations: 0.6121 MB / 0.5522 GB, free: 8.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.4156, allocations: 45.33 kB / 0.5522 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.416, allocations: 455.1 kB / 0.5526 GB, free: 8.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005247/0.4165, allocations: 414.3 kB / 0.553 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/0.417, allocations: 221.6 kB / 0.5532 GB, free: 7.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002671/0.4173, allocations: 404 kB / 0.5536 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.4187, allocations: 0.7498 MB / 0.5544 GB, free: 7.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4203, allocations: 0.949 MB / 0.5553 GB, free: 6.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/0.4236, allocations: 1.779 MB / 0.557 GB, free: 5.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.4236, allocations: 3.031 kB / 0.557 GB, free: 5.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004787/0.4284, allocations: 2.26 MB / 0.5592 GB, free: 3.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.4284, allocations: 7.938 kB / 0.5592 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.4284, allocations: 4 kB / 0.5593 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.43, allocations: 412.3 kB / 0.5596 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.4319, allocations: 399.6 kB / 0.56 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.4473, allocations: 14.7 MB / 0.5744 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.4491, allocations: 71.89 kB / 0.5744 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006987/0.4498, allocations: 47.98 kB / 0.5745 GB, free: 2.773 MB / 414.1 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.001518/0.4513, allocations: 393.6 kB / 0.5749 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/0.4518, allocations: 87.44 kB / 0.575 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.4561, allocations: 1.806 MB / 0.5767 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4562, allocations: 12 kB / 0.5767 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.4562, allocations: 4 kB / 0.5767 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.4562, allocations: 3.984 kB / 0.5767 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007848/0.464, allocations: 3.331 MB / 0.58 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.464, allocations: 4 kB / 0.58 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/0.4662, allocations: 355.7 kB / 0.5803 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.4673, allocations: 344.3 kB / 0.5807 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.4675, allocations: 63.97 kB / 0.5807 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/0.4799, allocations: 13.82 MB / 0.5942 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/0.4799, allocations: 3.938 kB / 0.5942 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005265/0.4851, allocations: 2.503 MB / 0.5967 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.4856, allocations: 91.45 kB / 0.5968 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/0.4859, allocations: 59.98 kB / 0.5968 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/0.4867, allocations: 51.92 kB / 0.5969 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.487, allocations: 88.72 kB / 0.5969 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.835e-05/0.4871, allocations: 31.98 kB / 0.597 GB, free: 10.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006968/0.4878, allocations: 434.8 kB / 0.5974 GB, free: 9.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4878, allocations: 7.875 kB / 0.5974 GB, free: 9.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001793/0.4896, allocations: 400 kB / 0.5978 GB, free: 9.551 MB / 446.1 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.005474/0.4951, allocations: 3.1 MB / 0.6008 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005391/0.5005, allocations: 2.728 MB / 0.6035 GB, free: 3.527 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.5005, allocations: 3.938 kB / 0.6035 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00285/0.5033, allocations: 1.864 MB / 0.6053 GB, free: 1.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.506, allocations: 286.7 kB / 0.6056 GB, free: 1.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03136/0.5373, allocations: 14.84 MB / 0.6201 GB, free: 2.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009451/0.5383, allocations: 0.5964 MB / 0.6206 GB, free: 1.465 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001139/0.5394, allocations: 359 kB / 0.621 GB, free: 1.109 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008081/0.5402, allocations: 415.3 kB / 0.6214 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5402, allocations: 0 / 0.6214 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1524/0.6926, allocations: 34.31 MB / 0.6549 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.83, allocations: 11.55 kB / 0.6549 GB, free: 14.82 MB / 0.4981 GB " [Timeout remaining time 646] (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: 17.033486975356936] Failed to read output from testmodel.py, exit status != 0: 13.96034974604845 13.990005546 13.608049647 Calling exit ...