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: 113.5 kB / 19.73 MB, free: 2.242 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.001437/0.001437, allocations: 215.3 kB / 23.04 MB, free: 5.078 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1042/0.1042, allocations: 22.94 MB / 336.2 MB, free: 12.6 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="cs",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="cs",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.002128/0.002128, allocations: 59.89 kB / 472.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3587, allocations: 59.29 MB / 0.5191 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.004935/0.3636, allocations: 3.998 MB / 0.523 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.3659, allocations: 1.203 MB / 0.5242 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.3664, allocations: 19.44 kB / 0.5242 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.3667, allocations: 147.3 kB / 0.5243 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000749/0.3675, allocations: 406.4 kB / 0.5247 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/0.3684, allocations: 279.9 kB / 0.525 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002229/0.3706, allocations: 1.967 MB / 0.5269 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.3722, allocations: 1.052 MB / 0.5279 GB, free: 4.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.3739, allocations: 0.752 MB / 0.5287 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.3757, allocations: 0.9029 MB / 0.5296 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004677/0.3762, allocations: 216 kB / 0.5298 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.3767, allocations: 216.7 kB / 0.53 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007472/0.3774, allocations: 0.6335 MB / 0.5306 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.3785, allocations: 0.8235 MB / 0.5314 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.3824, allocations: 2.372 MB / 0.5337 GB, free: 2.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.3824, allocations: 0 / 0.5337 GB, free: 2.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3824, allocations: 1.344 kB / 0.5337 GB, free: 2.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.359e-05/0.3825, allocations: 0 / 0.5337 GB, free: 2.59 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.007948/0.3905, allocations: 1.799 MB / 0.5355 GB, free: 1.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.904e-05/0.3906, allocations: 15.34 kB / 0.5355 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.69e-05/0.3906, allocations: 26.31 kB / 0.5355 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005542/0.3912, allocations: 159.1 kB / 0.5357 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005086/0.3917, allocations: 138.9 kB / 0.5358 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.3936, allocations: 0.7369 MB / 0.5365 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.91e-05/0.3937, allocations: 75.69 kB / 0.5366 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.394, allocations: 122.1 kB / 0.5367 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/0.3976, allocations: 1.421 MB / 0.5381 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.3976, allocations: 5.797 kB / 0.5381 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.3977, allocations: 40.52 kB / 0.5381 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.3978, allocations: 24.75 kB / 0.5382 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.4005, allocations: 1.256 MB / 0.5394 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.4129, allocations: 6.101 MB / 0.5453 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004763/0.4177, allocations: 1.758 MB / 0.5471 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.4192, allocations: 0.6804 MB / 0.5477 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.4193, allocations: 19.16 kB / 0.5477 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/0.4193, allocations: 55.31 kB / 0.5478 GB, free: 9.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 3.857e-06/0.4193, allocations: 0 / 0.5478 GB, free: 9.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.01137/0.4307, allocations: 4.309 MB / 0.552 GB, free: 7.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.4308, allocations: 65.94 kB / 0.5521 GB, free: 7.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.432, allocations: 0.6033 MB / 0.5527 GB, free: 6.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003702/0.4324, allocations: 45.05 kB / 0.5527 GB, free: 6.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.4328, allocations: 462.5 kB / 0.5531 GB, free: 6.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007271/0.4336, allocations: 406.7 kB / 0.5535 GB, free: 6.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/0.4341, allocations: 221.5 kB / 0.5537 GB, free: 5.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.4343, allocations: 404.7 kB / 0.5541 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.4358, allocations: 0.7605 MB / 0.5549 GB, free: 5.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.4376, allocations: 0.9422 MB / 0.5558 GB, free: 4.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/0.4409, allocations: 1.78 MB / 0.5575 GB, free: 3.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.441, allocations: 2.281 kB / 0.5575 GB, free: 3.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005685/0.4466, allocations: 2.254 MB / 0.5597 GB, free: 2.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.4467, allocations: 13.69 kB / 0.5597 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.4467, allocations: 4 kB / 0.5597 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.4484, allocations: 411.4 kB / 0.5601 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.4511, allocations: 397.2 kB / 0.5605 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.4656, allocations: 14.76 MB / 0.5749 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.4671, allocations: 71.84 kB / 0.575 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.4674, allocations: 43.98 kB / 0.575 GB, free: 2.023 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.001049/0.4684, allocations: 398.8 kB / 0.5754 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.4687, allocations: 83.48 kB / 0.5755 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/0.4726, allocations: 1.814 MB / 0.5773 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.4727, allocations: 12 kB / 0.5773 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.4727, allocations: 0 / 0.5773 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.4727, allocations: 7.984 kB / 0.5773 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007703/0.4804, allocations: 3.584 MB / 0.5808 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.4804, allocations: 4 kB / 0.5808 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/0.4826, allocations: 363.7 kB / 0.5811 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.4837, allocations: 340.3 kB / 0.5815 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/0.4839, allocations: 63.97 kB / 0.5815 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/0.496, allocations: 13.88 MB / 0.5951 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.496, allocations: 7.969 kB / 0.5951 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004859/0.5008, allocations: 2.502 MB / 0.5975 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.5012, allocations: 91.45 kB / 0.5976 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.5014, allocations: 59.98 kB / 0.5977 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007376/0.5022, allocations: 51.92 kB / 0.5977 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.5024, allocations: 92.72 kB / 0.5978 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/0.5025, allocations: 27.98 kB / 0.5978 GB, free: 9.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006284/0.5032, allocations: 434.8 kB / 0.5983 GB, free: 8.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5032, allocations: 0 / 0.5983 GB, free: 8.871 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001512/0.5047, allocations: 399.9 kB / 0.5986 GB, free: 8.48 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.004894/0.5096, allocations: 3.103 MB / 0.6017 GB, free: 5.309 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004116/0.5137, allocations: 2.727 MB / 0.6043 GB, free: 2.457 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5137, allocations: 1.062 kB / 0.6043 GB, free: 2.457 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002379/0.5161, allocations: 1.868 MB / 0.6062 GB, free: 468 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.5173, allocations: 294.6 kB / 0.6064 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/0.5441, allocations: 14.88 MB / 0.621 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.5452, allocations: 1.195 MB / 0.6221 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001289/0.5465, allocations: 355 kB / 0.6225 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008628/0.5473, allocations: 411.3 kB / 0.6229 GB, free: 14.99 MB / 478.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5473, allocations: 4 kB / 0.6229 GB, free: 14.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/0.6838, allocations: 33.07 MB / 0.6552 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/15.88, allocations: 4.062 kB / 0.6552 GB, free: 14.27 MB / 0.4981 GB " [Timeout remaining time 644] (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: 19.348715794971213] Failed to read output from testmodel.py, exit status != 0: 16.073177652957384 16.099491275 15.711268964 Calling exit ...