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.002074/0.002074, allocations: 106.7 kB / 16.45 MB, free: 6.453 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.002622/0.002622, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.556/1.556, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.1101/0.1101, allocations: 24.11 MB / 333 MB, free: 12.62 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.002216/0.002216, allocations: 63.91 kB / 467.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3159, allocations: 59.56 MB / 0.5151 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.004536/0.3204, allocations: 3.146 MB / 0.5181 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3223, allocations: 0.9305 MB / 0.5191 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.3226, allocations: 8.344 kB / 0.5191 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.3229, allocations: 93.05 kB / 0.5192 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.3233, allocations: 234.2 kB / 0.5194 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.3238, allocations: 168 kB / 0.5195 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.3249, allocations: 1.09 MB / 0.5206 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007953/0.3257, allocations: 0.6456 MB / 0.5212 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005895/0.3263, allocations: 444.7 kB / 0.5217 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006824/0.3269, allocations: 0.4954 MB / 0.5221 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.3271, allocations: 116.8 kB / 0.5222 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.3273, allocations: 121 kB / 0.5224 GB, free: 5.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.3276, allocations: 352.8 kB / 0.5227 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.3279, allocations: 481.7 kB / 0.5232 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3292, allocations: 1.291 MB / 0.5244 GB, free: 4.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3292, allocations: 1.672 kB / 0.5244 GB, free: 4.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3292, allocations: 0 / 0.5244 GB, free: 4.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.3292, allocations: 1.062 kB / 0.5244 GB, free: 4.336 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.002645/0.3318, allocations: 1.206 MB / 0.5256 GB, free: 3.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3319, allocations: 9.625 kB / 0.5256 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.332, allocations: 107.2 kB / 0.5257 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.3322, allocations: 78.59 kB / 0.5258 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000686/0.3329, allocations: 0.5276 MB / 0.5263 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.3329, allocations: 49.03 kB / 0.5263 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.333, allocations: 66.41 kB / 0.5264 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.3343, allocations: 0.7753 MB / 0.5272 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3344, allocations: 5.125 kB / 0.5272 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.3344, allocations: 24.72 kB / 0.5272 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.3344, allocations: 13.84 kB / 0.5272 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.3356, allocations: 0.6816 MB / 0.5279 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.3403, allocations: 3.577 MB / 0.5314 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.3426, allocations: 0.8618 MB / 0.5322 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/0.3432, allocations: 354.1 kB / 0.5325 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/0.3433, allocations: 13.59 kB / 0.5326 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3433, allocations: 37.83 kB / 0.5326 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 2.154e-06/0.3433, allocations: 0 / 0.5326 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.0102/0.3535, allocations: 3.378 MB / 0.5359 GB, free: 13.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.3535, allocations: 57.56 kB / 0.536 GB, free: 13.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/0.3542, allocations: 474.3 kB / 0.5364 GB, free: 13.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.3543, allocations: 36.08 kB / 0.5364 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.3545, allocations: 327 kB / 0.5367 GB, free: 13.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.3548, allocations: 236 kB / 0.537 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.3551, allocations: 147.1 kB / 0.5371 GB, free: 12.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3553, allocations: 377.3 kB / 0.5375 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008391/0.3561, allocations: 433.8 kB / 0.5379 GB, free: 12.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009754/0.3571, allocations: 0.5902 MB / 0.5385 GB, free: 12.02 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.008438/0.3656, allocations: 2.481 MB / 0.5409 GB, free: 10.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.3656, allocations: 1.375 kB / 0.5409 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003783/0.3693, allocations: 1.455 MB / 0.5423 GB, free: 9.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.3694, allocations: 7.969 kB / 0.5423 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.3694, allocations: 15.86 kB / 0.5423 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.3711, allocations: 379.8 kB / 0.5427 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.3722, allocations: 213.9 kB / 0.5429 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.3836, allocations: 11.21 MB / 0.5538 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3846, allocations: 58.39 kB / 0.5539 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/0.3847, allocations: 34.8 kB / 0.5539 GB, free: 14.46 MB / 414.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.0005536/0.3852, allocations: 278.3 kB / 0.5542 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.3854, allocations: 58.77 kB / 0.5543 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/0.3884, allocations: 1.165 MB / 0.5554 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3884, allocations: 4.938 kB / 0.5554 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3884, allocations: 2.344 kB / 0.5554 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.3884, allocations: 3.984 kB / 0.5554 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/0.3928, allocations: 2.126 MB / 0.5575 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3928, allocations: 0 / 0.5575 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.3938, allocations: 174.3 kB / 0.5576 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.3952, allocations: 331.7 kB / 0.558 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.3953, allocations: 33.36 kB / 0.558 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.4054, allocations: 10.68 MB / 0.5684 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4054, allocations: 3.938 kB / 0.5684 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.4091, allocations: 1.581 MB / 0.57 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.4094, allocations: 142.9 kB / 0.5701 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.4096, allocations: 28.27 kB / 0.5701 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/0.4102, allocations: 39.02 kB / 0.5702 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.4104, allocations: 54.73 kB / 0.5702 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.4104, allocations: 19.11 kB / 0.5702 GB, free: 15.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004701/0.4109, allocations: 330.1 kB / 0.5706 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4109, allocations: 1.344 kB / 0.5706 GB, free: 15.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001062/0.412, allocations: 241.8 kB / 0.5708 GB, free: 15.68 MB / 430.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.004032/0.416, allocations: 2.158 MB / 0.5729 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.4191, allocations: 1.757 MB / 0.5746 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4191, allocations: 0 / 0.5746 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.421, allocations: 1.237 MB / 0.5758 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/0.4219, allocations: 173.6 kB / 0.576 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.439, allocations: 8.842 MB / 0.5846 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009076/0.4399, allocations: 0.9698 MB / 0.5856 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007381/0.4406, allocations: 212.8 kB / 0.5858 GB, free: 0.625 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.4411, allocations: 235.4 kB / 0.586 GB, free: 404 kB / 430.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4411, allocations: 0 / 0.586 GB, free: 404 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08652/0.5276, allocations: 20.29 MB / 0.6058 GB, free: 12.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.1, allocations: 11.86 kB / 0.6058 GB, free: 12.33 MB / 462.1 MB " [Timeout remaining time 646] (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: 17.243162682047114] Failed to read output from testmodel.py, exit status != 0: 14.215345896081999 14.239914605 13.905952832 Calling exit ...