Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_001.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.001923/0.001923, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002497/0.002497, allocations: 216.2 kB / 22.25 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 8.012 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.1081/0.1081, 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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",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.002161/0.002161, allocations: 67.91 kB / 473.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 59.59 MB / 0.5204 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003959/0.3609, allocations: 2.658 MB / 0.523 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3627, allocations: 0.8646 MB / 0.5239 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.3629, allocations: 3.75 kB / 0.5239 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.3631, allocations: 46.02 kB / 0.5239 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.3635, allocations: 138 kB / 0.524 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.3641, allocations: 139.5 kB / 0.5242 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007517/0.3648, allocations: 484.3 kB / 0.5246 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.3654, allocations: 286.1 kB / 0.5249 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.3657, allocations: 231.6 kB / 0.5251 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004711/0.3662, allocations: 304.3 kB / 0.5254 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/0.3663, allocations: 50.69 kB / 0.5255 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.3665, allocations: 80.19 kB / 0.5255 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.3666, allocations: 157 kB / 0.5257 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.3669, allocations: 239 kB / 0.5259 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.3676, allocations: 0.5794 MB / 0.5265 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3676, allocations: 0 / 0.5265 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3676, allocations: 1.188 kB / 0.5265 GB, free: 6.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.3676, allocations: 0 / 0.5265 GB, free: 6.434 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001623/0.3693, allocations: 0.6652 MB / 0.5271 GB, free: 5.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3693, allocations: 11.55 kB / 0.5271 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/0.3694, allocations: 69.02 kB / 0.5272 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.758e-05/0.3695, allocations: 44.27 kB / 0.5273 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.3699, allocations: 275.7 kB / 0.5275 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.3699, allocations: 22.09 kB / 0.5275 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.37, allocations: 34.28 kB / 0.5276 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.3707, allocations: 419.7 kB / 0.528 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3707, allocations: 4 kB / 0.528 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.3708, allocations: 11.39 kB / 0.528 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3708, allocations: 7.625 kB / 0.528 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007489/0.3715, allocations: 401 kB / 0.5284 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.3742, allocations: 1.273 MB / 0.5296 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.3748, allocations: 293.1 kB / 0.5299 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.3751, allocations: 199.5 kB / 0.5301 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.3751, allocations: 4.156 kB / 0.5301 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3752, allocations: 35.72 kB / 0.5301 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004329/0.3756, allocations: 79.52 kB / 0.5302 GB, free: 4.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.954e-06/0.3756, allocations: 0 / 0.5302 GB, free: 4.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.005294/0.3809, allocations: 1.537 MB / 0.5317 GB, free: 3.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3809, allocations: 62.77 kB / 0.5318 GB, free: 3.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.3813, allocations: 320.4 kB / 0.5321 GB, free: 3.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.3814, allocations: 30.59 kB / 0.5321 GB, free: 3.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.3815, allocations: 216 kB / 0.5323 GB, free: 3.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.485e-05/0.3815, allocations: 126.4 kB / 0.5324 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3817, allocations: 88.11 kB / 0.5325 GB, free: 3.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.3818, allocations: 350.8 kB / 0.5328 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.3821, allocations: 189 kB / 0.533 GB, free: 2.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.3825, allocations: 255.5 kB / 0.5333 GB, free: 2.535 MB / 382.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.009639/0.3922, allocations: 1.796 MB / 0.535 GB, free: 2.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3922, allocations: 0 / 0.535 GB, free: 2.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001869/0.394, allocations: 0.6452 MB / 0.5357 GB, free: 1.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3941, allocations: 5.938 kB / 0.5357 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.3941, allocations: 9.516 kB / 0.5357 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.3954, allocations: 206 kB / 0.5359 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.3959, allocations: 101.8 kB / 0.536 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007564/0.3967, allocations: 1.168 MB / 0.5371 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.3971, allocations: 19.41 kB / 0.5371 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.3972, allocations: 20.38 kB / 0.5371 GB, free: 0.668 MB / 382.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.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (44): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002738/0.3974, allocations: 172.1 kB / 0.5373 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.498e-05/0.3975, allocations: 35.42 kB / 0.5373 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.3992, allocations: 0.6439 MB / 0.538 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.3992, allocations: 6.312 kB / 0.538 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3992, allocations: 0 / 0.538 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3992, allocations: 5.672 kB / 0.538 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.4015, allocations: 1.157 MB / 0.5391 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4015, allocations: 0 / 0.5391 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.402, allocations: 84.27 kB / 0.5392 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008872/0.4029, allocations: 167.8 kB / 0.5393 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.403, allocations: 15.48 kB / 0.5394 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.404, allocations: 1.165 MB / 0.5405 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.404, allocations: 0 / 0.5405 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.406, allocations: 0.8975 MB / 0.5414 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.4061, allocations: 40.31 kB / 0.5414 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.4062, allocations: 9.453 kB / 0.5414 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.4065, allocations: 15.75 kB / 0.5414 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.4066, allocations: 31.47 kB / 0.5415 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.4067, allocations: 9.875 kB / 0.5415 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003456/0.407, allocations: 233.2 kB / 0.5417 GB, free: 13.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.407, allocations: 0 / 0.5417 GB, free: 13.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005429/0.4076, allocations: 111.4 kB / 0.5418 GB, free: 13.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002247/0.4098, allocations: 1.462 MB / 0.5432 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.4111, allocations: 486.8 kB / 0.5437 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4111, allocations: 0 / 0.5437 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.4118, allocations: 260.6 kB / 0.5439 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.4124, allocations: 89.44 kB / 0.544 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007866/0.4203, allocations: 4.448 MB / 0.5484 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4207, allocations: 0.8103 MB / 0.5492 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003013/0.421, allocations: 81.27 kB / 0.5492 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.4213, allocations: 143.9 kB / 0.5494 GB, free: 8.348 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4213, allocations: 1.094 kB / 0.5494 GB, free: 8.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/0.4639, allocations: 11.16 MB / 0.5603 GB, free: 2.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.89, allocations: 14.38 kB / 0.5603 GB, free: 2.121 MB / 398.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_001_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_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.81905577100406] Failed to read output from testmodel.py, exit status != 0: 14.01366216599854 14.041285878 13.668424444 Calling exit ...