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.001494/0.001494, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.00169/0.00169, allocations: 205.9 kB / 23.01 MB, free: 4.621 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.1086/0.1086, allocations: 24.05 MB / 337.2 MB, free: 11.32 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.002202/0.002202, allocations: 67.89 kB / 473.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3452, allocations: 59.57 MB / 0.5209 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.004186/0.3494, allocations: 2.462 MB / 0.5233 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3512, allocations: 0.8014 MB / 0.5241 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.3514, allocations: 4.062 kB / 0.5241 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.3516, allocations: 50.11 kB / 0.5242 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.352, allocations: 133.6 kB / 0.5243 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.3525, allocations: 136.9 kB / 0.5244 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006484/0.3532, allocations: 479.8 kB / 0.5249 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.3537, allocations: 288.1 kB / 0.5251 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.354, allocations: 226.2 kB / 0.5254 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.3544, allocations: 271.7 kB / 0.5256 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.3545, allocations: 53.66 kB / 0.5257 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.3547, allocations: 77.11 kB / 0.5257 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3549, allocations: 153.6 kB / 0.5259 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.3551, allocations: 210.3 kB / 0.5261 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.3558, allocations: 0.5841 MB / 0.5267 GB, free: 6.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3558, allocations: 0 / 0.5267 GB, free: 6.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3558, allocations: 0 / 0.5267 GB, free: 6.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3558, allocations: 0 / 0.5267 GB, free: 6.684 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.00156/0.3574, allocations: 0.6621 MB / 0.5273 GB, free: 6.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3574, allocations: 14.36 kB / 0.5273 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.596e-05/0.3575, allocations: 68.97 kB / 0.5274 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3576, allocations: 41.39 kB / 0.5274 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.3581, allocations: 287 kB / 0.5277 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.3581, allocations: 26.95 kB / 0.5277 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.3582, allocations: 34.83 kB / 0.5278 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.359, allocations: 419.8 kB / 0.5282 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.359, allocations: 3.938 kB / 0.5282 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.359, allocations: 10.16 kB / 0.5282 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.359, allocations: 8.125 kB / 0.5282 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007382/0.3598, allocations: 400.4 kB / 0.5286 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.3622, allocations: 1.176 MB / 0.5297 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.3628, allocations: 284.7 kB / 0.53 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003673/0.3632, allocations: 200.7 kB / 0.5302 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3632, allocations: 3.344 kB / 0.5302 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.3633, allocations: 41.55 kB / 0.5302 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004193/0.3637, allocations: 76.17 kB / 0.5303 GB, free: 4.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.3637, allocations: 0 / 0.5303 GB, free: 4.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.005149/0.3688, allocations: 1.53 MB / 0.5318 GB, free: 3.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.3689, allocations: 63.38 kB / 0.5318 GB, free: 3.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.3693, allocations: 329.4 kB / 0.5322 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.3693, allocations: 29.7 kB / 0.5322 GB, free: 3.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.3694, allocations: 201.8 kB / 0.5324 GB, free: 3.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.3695, allocations: 131.3 kB / 0.5325 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3696, allocations: 85.66 kB / 0.5326 GB, free: 3.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.3697, allocations: 352 kB / 0.5329 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.3701, allocations: 191.8 kB / 0.5331 GB, free: 2.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.3705, allocations: 248.5 kB / 0.5333 GB, free: 2.82 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.009211/0.3797, allocations: 1.801 MB / 0.5351 GB, free: 2.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3797, allocations: 0 / 0.5351 GB, free: 2.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001707/0.3814, allocations: 0.6452 MB / 0.5357 GB, free: 2.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3814, allocations: 7.219 kB / 0.5357 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3814, allocations: 2.281 kB / 0.5357 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.3827, allocations: 207.9 kB / 0.5359 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.3832, allocations: 101.1 kB / 0.536 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007202/0.3839, allocations: 1.178 MB / 0.5372 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.3843, allocations: 19.12 kB / 0.5372 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.3844, allocations: 15.92 kB / 0.5372 GB, free: 0.9531 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.0002396/0.3846, allocations: 168.7 kB / 0.5374 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.3847, allocations: 32.12 kB / 0.5374 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.3864, allocations: 0.6494 MB / 0.538 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3864, allocations: 8.062 kB / 0.538 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3864, allocations: 0 / 0.538 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3864, allocations: 11.94 kB / 0.5381 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3887, allocations: 1.079 MB / 0.5391 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3887, allocations: 5.547 kB / 0.5391 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.3892, allocations: 85.2 kB / 0.5392 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009032/0.3901, allocations: 171.5 kB / 0.5394 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.3902, allocations: 18.69 kB / 0.5394 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009924/0.3912, allocations: 1.162 MB / 0.5405 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3912, allocations: 5.438 kB / 0.5405 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.3931, allocations: 0.8895 MB / 0.5414 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/0.3932, allocations: 36.48 kB / 0.5414 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.3933, allocations: 13.38 kB / 0.5414 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.3936, allocations: 12.64 kB / 0.5414 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3937, allocations: 31.52 kB / 0.5415 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.3937, allocations: 14.16 kB / 0.5415 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002997/0.394, allocations: 228.4 kB / 0.5417 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.394, allocations: 1.156 kB / 0.5417 GB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004904/0.3945, allocations: 107.2 kB / 0.5418 GB, free: 14.06 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.002376/0.3969, allocations: 1.457 MB / 0.5432 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.3982, allocations: 490.2 kB / 0.5437 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3982, allocations: 0 / 0.5437 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.3989, allocations: 258.9 kB / 0.544 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.3994, allocations: 95.17 kB / 0.544 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/0.4075, allocations: 4.449 MB / 0.5484 GB, free: 9.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.4077, allocations: 209.6 kB / 0.5486 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.4081, allocations: 81.89 kB / 0.5487 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.4084, allocations: 143.7 kB / 0.5488 GB, free: 9.398 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4084, allocations: 0 / 0.5488 GB, free: 9.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04845/0.4568, allocations: 11.45 MB / 0.56 GB, free: 2.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.77, allocations: 3.938 kB / 0.56 GB, free: 2.906 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.62380545400083] Failed to read output from testmodel.py, exit status != 0: 13.898915039841086 13.922804106 13.563362358 Calling exit ...