Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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.001392/0.001392, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.00165/0.00165, allocations: 215.6 kB / 22.26 MB, free: 5.133 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 8 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.1105/0.1105, allocations: 24.12 MB / 336.6 MB, free: 11.45 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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",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.002026/0.002026, allocations: 65.47 kB / 473.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 59.6 MB / 0.5204 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003916/0.3654, allocations: 3.142 MB / 0.5235 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.367, allocations: 0.9457 MB / 0.5244 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.3672, allocations: 11.94 kB / 0.5244 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.3674, allocations: 87.73 kB / 0.5245 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.3678, allocations: 230.9 kB / 0.5247 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.3683, allocations: 171.6 kB / 0.5249 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.3692, allocations: 1.106 MB / 0.526 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.3699, allocations: 0.5723 MB / 0.5265 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.3704, allocations: 439.2 kB / 0.527 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.3711, allocations: 0.4946 MB / 0.5274 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.3713, allocations: 116.7 kB / 0.5276 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.3715, allocations: 117.6 kB / 0.5277 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.3718, allocations: 355.1 kB / 0.528 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004284/0.3722, allocations: 479 kB / 0.5285 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3735, allocations: 1.293 MB / 0.5297 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3735, allocations: 1.281 kB / 0.5297 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3735, allocations: 0 / 0.5297 GB, free: 4.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.3736, allocations: 0 / 0.5297 GB, free: 4.73 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002657/0.3762, allocations: 1.133 MB / 0.5308 GB, free: 4.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3763, allocations: 14.33 kB / 0.5308 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.3764, allocations: 103.5 kB / 0.5309 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.3766, allocations: 79.41 kB / 0.531 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008913/0.3775, allocations: 480.6 kB / 0.5315 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.3775, allocations: 45.03 kB / 0.5315 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.3776, allocations: 65.45 kB / 0.5316 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.3792, allocations: 0.7832 MB / 0.5323 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3792, allocations: 0.625 kB / 0.5323 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/0.3793, allocations: 21.41 kB / 0.5324 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.3793, allocations: 13.78 kB / 0.5324 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.3805, allocations: 0.6814 MB / 0.533 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005344/0.3859, allocations: 3.539 MB / 0.5365 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.3881, allocations: 0.8576 MB / 0.5373 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.3886, allocations: 362.4 kB / 0.5377 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.3887, allocations: 6.562 kB / 0.5377 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3887, allocations: 38.25 kB / 0.5377 GB, free: 120 kB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.094e-06/0.3887, allocations: 4 kB / 0.5377 GB, free: 116 kB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.009742/0.3984, allocations: 2.913 MB / 0.5406 GB, free: 14.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3985, allocations: 61.91 kB / 0.5406 GB, free: 14.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/0.3991, allocations: 474.5 kB / 0.5411 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.3992, allocations: 36.05 kB / 0.5411 GB, free: 14.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.3995, allocations: 331 kB / 0.5414 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.3997, allocations: 239.8 kB / 0.5417 GB, free: 14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.4, allocations: 146.8 kB / 0.5418 GB, free: 13.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4002, allocations: 369.9 kB / 0.5422 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007886/0.401, allocations: 441.7 kB / 0.5426 GB, free: 13.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000908/0.4019, allocations: 0.5871 MB / 0.5432 GB, free: 12.93 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.008041/0.4099, allocations: 2.486 MB / 0.5456 GB, free: 11.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.41, allocations: 2.594 kB / 0.5456 GB, free: 11.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003599/0.4136, allocations: 1.45 MB / 0.547 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.4136, allocations: 7.438 kB / 0.547 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.4136, allocations: 5.25 kB / 0.547 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.4153, allocations: 375.1 kB / 0.5474 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009927/0.4163, allocations: 218.4 kB / 0.5476 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.427, allocations: 10.5 MB / 0.5578 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009891/0.428, allocations: 57.28 kB / 0.5579 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.428, allocations: 30.77 kB / 0.5579 GB, free: 236 kB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.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 (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006056/0.4286, allocations: 268.9 kB / 0.5582 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.4288, allocations: 58.09 kB / 0.5582 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.4318, allocations: 1.167 MB / 0.5594 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4318, allocations: 5.75 kB / 0.5594 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4318, allocations: 2.125 kB / 0.5594 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4318, allocations: 4.953 kB / 0.5594 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/0.436, allocations: 2.107 MB / 0.5614 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.436, allocations: 0 / 0.5614 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.4371, allocations: 174.8 kB / 0.5616 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.4385, allocations: 327.6 kB / 0.5619 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.4386, allocations: 38.02 kB / 0.5619 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00994/0.4485, allocations: 9.961 MB / 0.5717 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4485, allocations: 0 / 0.5717 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0045/0.453, allocations: 1.578 MB / 0.5732 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.4535, allocations: 65.64 kB / 0.5733 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.4536, allocations: 28.98 kB / 0.5733 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.4542, allocations: 34.2 kB / 0.5733 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.4546, allocations: 65.55 kB / 0.5734 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.4546, allocations: 23.17 kB / 0.5734 GB, free: 2.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006373/0.4553, allocations: 327.7 kB / 0.5737 GB, free: 2.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4553, allocations: 0 / 0.5737 GB, free: 2.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001433/0.4567, allocations: 247.9 kB / 0.574 GB, free: 2.168 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.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 (49): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003941/0.4606, allocations: 2.169 MB / 0.5761 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003225/0.4639, allocations: 1.756 MB / 0.5778 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.4639, allocations: 0 / 0.5778 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.4657, allocations: 1.229 MB / 0.579 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4669, allocations: 176.4 kB / 0.5792 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/0.4839, allocations: 8.845 MB / 0.5878 GB, free: 3.523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007899/0.4847, allocations: 0.9686 MB / 0.5888 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007004/0.4854, allocations: 212.8 kB / 0.589 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.4858, allocations: 235.4 kB / 0.5892 GB, free: 2.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.823e-06/0.4858, allocations: 0 / 0.5892 GB, free: 2.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0782/0.564, allocations: 20.95 MB / 0.6096 GB, free: 13.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.26, allocations: 6.594 kB / 0.6097 GB, free: 13.39 MB / 462.1 MB " [Timeout remaining time 645] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_002_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_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.462834292004118] Failed to read output from testmodel.py, exit status != 0: 15.404289999998582 15.421266943000001 15.044384739 Calling exit ...