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.001324/0.001324, 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.002179/0.002179, allocations: 206.2 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.107/0.107, allocations: 24.05 MB / 337.2 MB, free: 11.32 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.002305/0.002305, allocations: 68.17 kB / 473.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3442, allocations: 59.57 MB / 0.5209 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.004983/0.3492, allocations: 3.572 MB / 0.5244 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.3516, allocations: 1.158 MB / 0.5255 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.3519, allocations: 19.16 kB / 0.5256 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.3522, allocations: 156.6 kB / 0.5257 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.3528, allocations: 392.5 kB / 0.5261 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.3535, allocations: 283.9 kB / 0.5263 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001794/0.3553, allocations: 1.971 MB / 0.5283 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.3564, allocations: 1.033 MB / 0.5293 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008624/0.3573, allocations: 0.7565 MB / 0.53 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.3584, allocations: 0.8308 MB / 0.5308 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.3587, allocations: 216.8 kB / 0.531 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.359, allocations: 216.6 kB / 0.5312 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006045/0.3596, allocations: 0.6295 MB / 0.5319 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008766/0.3605, allocations: 0.7025 MB / 0.5325 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.3627, allocations: 2.385 MB / 0.5349 GB, free: 2.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3627, allocations: 4 kB / 0.5349 GB, free: 2.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3627, allocations: 0 / 0.5349 GB, free: 2.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.2e-05/0.3628, allocations: 1.062 kB / 0.5349 GB, free: 2.629 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.004962/0.3677, allocations: 1.792 MB / 0.5366 GB, free: 1.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.3678, allocations: 14.55 kB / 0.5366 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.3681, allocations: 160.4 kB / 0.5368 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.3684, allocations: 137.2 kB / 0.5369 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.3699, allocations: 0.743 MB / 0.5377 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.37, allocations: 75.31 kB / 0.5377 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/0.3703, allocations: 115.5 kB / 0.5378 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.3731, allocations: 1.457 MB / 0.5393 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.3731, allocations: 7.984 kB / 0.5393 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.3733, allocations: 40.41 kB / 0.5393 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.3733, allocations: 24.53 kB / 0.5393 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.3758, allocations: 1.25 MB / 0.5405 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009845/0.3856, allocations: 4.417 MB / 0.5449 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004465/0.3901, allocations: 1.758 MB / 0.5466 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.3914, allocations: 0.6766 MB / 0.5472 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-05/0.3915, allocations: 18.27 kB / 0.5473 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/0.3915, allocations: 48.75 kB / 0.5473 GB, free: 11.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 3.297e-06/0.3915, allocations: 4 kB / 0.5473 GB, free: 11.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.01055/0.4021, allocations: 4.299 MB / 0.5515 GB, free: 9.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.4021, allocations: 66.19 kB / 0.5516 GB, free: 9.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4032, allocations: 0.6122 MB / 0.5522 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.4033, allocations: 42.55 kB / 0.5522 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.4037, allocations: 454.1 kB / 0.5526 GB, free: 8.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005398/0.4042, allocations: 419.4 kB / 0.553 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004761/0.4047, allocations: 217.2 kB / 0.5532 GB, free: 7.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.405, allocations: 408.2 kB / 0.5536 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.4064, allocations: 0.7537 MB / 0.5544 GB, free: 6.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.4079, allocations: 0.9415 MB / 0.5553 GB, free: 6.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/0.4109, allocations: 1.784 MB / 0.557 GB, free: 5.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.4109, allocations: 1.125 kB / 0.557 GB, free: 5.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004952/0.4158, allocations: 2.251 MB / 0.5592 GB, free: 3.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.4159, allocations: 14.89 kB / 0.5592 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.4159, allocations: 11.98 kB / 0.5593 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.4174, allocations: 412.3 kB / 0.5597 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.4194, allocations: 395.5 kB / 0.56 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/0.4338, allocations: 14.69 MB / 0.5744 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4353, allocations: 72.3 kB / 0.5744 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.4354, allocations: 47.92 kB / 0.5745 GB, free: 2.746 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.0008698/0.4363, allocations: 394.7 kB / 0.5749 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.4365, allocations: 87.44 kB / 0.575 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.4402, allocations: 1.806 MB / 0.5767 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4402, allocations: 12 kB / 0.5767 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4402, allocations: 0 / 0.5767 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4402, allocations: 3.984 kB / 0.5767 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007084/0.4473, allocations: 3.335 MB / 0.58 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.4473, allocations: 8.094 kB / 0.58 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/0.4494, allocations: 351.6 kB / 0.5803 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.4505, allocations: 348.3 kB / 0.5807 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.4507, allocations: 63.97 kB / 0.5807 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/0.4644, allocations: 13.81 MB / 0.5942 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.588e-05/0.4644, allocations: 8.25 kB / 0.5942 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006279/0.4707, allocations: 2.499 MB / 0.5967 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007409/0.4714, allocations: 95.45 kB / 0.5968 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/0.4717, allocations: 59.97 kB / 0.5968 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007904/0.4725, allocations: 51.94 kB / 0.5969 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/0.4729, allocations: 92.7 kB / 0.5969 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.602e-05/0.4729, allocations: 27.98 kB / 0.597 GB, free: 10.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007055/0.4737, allocations: 430.8 kB / 0.5974 GB, free: 9.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4737, allocations: 4 kB / 0.5974 GB, free: 9.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00218/0.4758, allocations: 392 kB / 0.5978 GB, free: 9.539 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.006208/0.482, allocations: 3.111 MB / 0.6008 GB, free: 6.359 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005295/0.4873, allocations: 2.727 MB / 0.6035 GB, free: 3.504 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.4873, allocations: 0 / 0.6035 GB, free: 3.504 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003247/0.4906, allocations: 1.861 MB / 0.6053 GB, free: 1.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.4924, allocations: 298.6 kB / 0.6056 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/0.5241, allocations: 14.84 MB / 0.6201 GB, free: 2.066 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.5249, allocations: 0.5949 MB / 0.6206 GB, free: 1.438 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001158/0.526, allocations: 355 kB / 0.621 GB, free: 1.086 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008046/0.5268, allocations: 419.2 kB / 0.6214 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5268, allocations: 0 / 0.6214 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/0.6511, allocations: 34.31 MB / 0.6549 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.8, allocations: 3.984 kB / 0.6549 GB, free: 14.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_004_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 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.097681705839932] Failed to read output from testmodel.py, exit status != 0: 13.932073237840086 13.962082022 13.593822177 Calling exit ...