Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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.002274/0.002274, allocations: 104 kB / 16.45 MB, free: 6.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.002389/0.002389, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.1157/0.1157, allocations: 24.1 MB / 333 MB, free: 12.64 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_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",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.002286/0.002286, allocations: 75.89 kB / 467.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3741, allocations: 59.55 MB / 0.5151 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.0042/0.3783, allocations: 4.056 MB / 0.519 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3803, allocations: 1.237 MB / 0.5202 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.3805, allocations: 19.78 kB / 0.5203 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3808, allocations: 156 kB / 0.5204 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.3814, allocations: 404.8 kB / 0.5208 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.3821, allocations: 279.6 kB / 0.5211 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.3837, allocations: 1.98 MB / 0.523 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.3849, allocations: 1.22 MB / 0.5242 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000932/0.3858, allocations: 0.7723 MB / 0.5249 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.3869, allocations: 0.9076 MB / 0.5258 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.3873, allocations: 217.4 kB / 0.526 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.3876, allocations: 219.3 kB / 0.5262 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005167/0.3881, allocations: 0.6448 MB / 0.5269 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008462/0.389, allocations: 0.8407 MB / 0.5277 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.3914, allocations: 2.399 MB / 0.53 GB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3914, allocations: 0 / 0.53 GB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3914, allocations: 0.5312 kB / 0.53 GB, free: 1.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-05/0.3915, allocations: 0 / 0.53 GB, free: 1.438 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.004535/0.396, allocations: 1.91 MB / 0.5319 GB, free: 436 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3961, allocations: 10 kB / 0.5319 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/0.3963, allocations: 160.3 kB / 0.5321 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.3966, allocations: 140.1 kB / 0.5322 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.398, allocations: 0.8225 MB / 0.533 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.3981, allocations: 75.91 kB / 0.5331 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.3984, allocations: 125.3 kB / 0.5332 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.4012, allocations: 1.432 MB / 0.5346 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.4012, allocations: 0 / 0.5346 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.4014, allocations: 42.12 kB / 0.5346 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.4014, allocations: 23.78 kB / 0.5347 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.4039, allocations: 1.268 MB / 0.5359 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.4147, allocations: 6.19 MB / 0.5419 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004584/0.4193, allocations: 1.773 MB / 0.5437 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.4207, allocations: 0.6882 MB / 0.5443 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.943e-05/0.4208, allocations: 19.08 kB / 0.5444 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.4208, allocations: 39.62 kB / 0.5444 GB, free: 8.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.875e-06/0.4208, allocations: 0 / 0.5444 GB, free: 8.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.0172/0.438, allocations: 6.014 MB / 0.5503 GB, free: 4.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.4381, allocations: 62.75 kB / 0.5503 GB, free: 4.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.4392, allocations: 0.6411 MB / 0.551 GB, free: 3.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.4394, allocations: 41.92 kB / 0.551 GB, free: 3.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.4399, allocations: 471.2 kB / 0.5514 GB, free: 3.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007869/0.4407, allocations: 432.9 kB / 0.5519 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007457/0.4414, allocations: 243.4 kB / 0.5521 GB, free: 3.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002828/0.4417, allocations: 406 kB / 0.5525 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.4434, allocations: 0.7859 MB / 0.5532 GB, free: 2.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.4453, allocations: 0.9813 MB / 0.5542 GB, free: 1.629 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01615/0.4614, allocations: 4.558 MB / 0.5587 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.4615, allocations: 0 / 0.5587 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.006895/0.4683, allocations: 2.525 MB / 0.5611 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.4684, allocations: 8 kB / 0.5611 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4684, allocations: 4 kB / 0.5611 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/0.4715, allocations: 0.6618 MB / 0.5618 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.4736, allocations: 359.6 kB / 0.5621 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/0.4976, allocations: 20.01 MB / 0.5817 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.4991, allocations: 83.94 kB / 0.5817 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003968/0.4995, allocations: 47.92 kB / 0.5818 GB, free: 5.34 MB / 430.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: 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 (144): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,6,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%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.5008, allocations: 399.7 kB / 0.5822 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/0.5012, allocations: 87.44 kB / 0.5823 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005662/0.5069, allocations: 2.112 MB / 0.5843 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.5069, allocations: 12 kB / 0.5843 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.5069, allocations: 4 kB / 0.5843 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.507, allocations: 3.984 kB / 0.5843 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009687/0.5166, allocations: 3.95 MB / 0.5882 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.5166, allocations: 0 / 0.5882 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/0.5187, allocations: 327.6 kB / 0.5885 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002217/0.5209, allocations: 0.5292 MB / 0.589 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003218/0.5213, allocations: 71.89 kB / 0.5891 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/0.5411, allocations: 18.54 MB / 0.6072 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5411, allocations: 0 / 0.6072 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007034/0.5481, allocations: 2.762 MB / 0.6099 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.5486, allocations: 172.5 kB / 0.6101 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005069/0.5492, allocations: 55.98 kB / 0.6101 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.5502, allocations: 59.92 kB / 0.6102 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/0.5506, allocations: 100.7 kB / 0.6103 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.5508, allocations: 35.97 kB / 0.6103 GB, free: 6.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008779/0.5516, allocations: 455.1 kB / 0.6107 GB, free: 5.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5516, allocations: 3.938 kB / 0.6107 GB, free: 5.746 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002443/0.5541, allocations: 436 kB / 0.6112 GB, free: 5.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (89): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,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%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006993/0.5611, allocations: 3.366 MB / 0.6144 GB, free: 1.883 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005821/0.5669, allocations: 3.108 MB / 0.6175 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.5669, allocations: 0 / 0.6175 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003474/0.5704, allocations: 2.212 MB / 0.6196 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.5721, allocations: 294.7 kB / 0.6199 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/0.6058, allocations: 15.22 MB / 0.6348 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.6072, allocations: 1.217 MB / 0.636 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001288/0.6084, allocations: 355.3 kB / 0.6363 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009838/0.6094, allocations: 431.3 kB / 0.6367 GB, free: 10.42 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6094, allocations: 0 / 0.6367 GB, free: 10.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.7248, allocations: 35.55 MB / 0.6714 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.54, allocations: 3.938 kB / 0.6714 GB, free: 7.215 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_005_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_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.76732518710196] Failed to read output from testmodel.py, exit status != 0: 15.658631330821663 15.682151015 15.28604408 Calling exit ...