Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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.001803/0.001803, allocations: 104.3 kB / 19.72 MB, free: 2.07 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.002248/0.002248, allocations: 208.7 kB / 23.01 MB, free: 4.898 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.1083/0.1083, allocations: 24.04 MB / 337.2 MB, free: 11.36 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_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",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.002386/0.002386, allocations: 71.88 kB / 473.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3781, 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_006): time 0.003629/0.3817, allocations: 2.267 MB / 0.5231 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3829, allocations: 0.7462 MB / 0.5238 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.383, allocations: 1.469 kB / 0.5238 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.3832, allocations: 45.44 kB / 0.5239 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.3835, allocations: 137 kB / 0.524 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.384, allocations: 151 kB / 0.5242 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005876/0.3846, allocations: 0.5707 MB / 0.5247 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.385, allocations: 292.9 kB / 0.525 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/0.3854, allocations: 266.4 kB / 0.5253 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.3859, allocations: 339.8 kB / 0.5256 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.386, allocations: 60.94 kB / 0.5256 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3861, allocations: 61.69 kB / 0.5257 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.3863, allocations: 191.1 kB / 0.5259 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.3866, allocations: 237.7 kB / 0.5261 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.3873, allocations: 0.6574 MB / 0.5268 GB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3873, allocations: 3.938 kB / 0.5268 GB, free: 6.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3873, allocations: 0.9688 kB / 0.5268 GB, free: 6.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3873, allocations: 0 / 0.5268 GB, free: 6.719 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001871/0.3892, allocations: 0.7189 MB / 0.5275 GB, free: 6.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.3892, allocations: 10.11 kB / 0.5275 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.3893, allocations: 71.98 kB / 0.5275 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3895, allocations: 46.53 kB / 0.5276 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.39, allocations: 298.3 kB / 0.5279 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.39, allocations: 22.31 kB / 0.5279 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.335e-05/0.3901, allocations: 34.41 kB / 0.5279 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3912, allocations: 498.1 kB / 0.5284 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3912, allocations: 3.938 kB / 0.5284 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.3913, allocations: 15.41 kB / 0.5284 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.3913, allocations: 8.109 kB / 0.5284 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.3924, allocations: 0.5361 MB / 0.5289 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.3954, allocations: 1.159 MB / 0.5301 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/0.3963, allocations: 400.4 kB / 0.5305 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/0.3969, allocations: 240.8 kB / 0.5307 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-05/0.3969, allocations: 9.438 kB / 0.5307 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3969, allocations: 37.98 kB / 0.5307 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004003/0.3973, allocations: 69.89 kB / 0.5308 GB, free: 4.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.925e-06/0.3973, allocations: 4 kB / 0.5308 GB, free: 4.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.003986/0.4013, allocations: 1.428 MB / 0.5322 GB, free: 3.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.4014, allocations: 55.94 kB / 0.5323 GB, free: 3.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/0.402, allocations: 363 kB / 0.5326 GB, free: 3.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.4021, allocations: 31.89 kB / 0.5326 GB, free: 3.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.4022, allocations: 205.9 kB / 0.5328 GB, free: 3.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.4024, allocations: 170.2 kB / 0.533 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.4026, allocations: 115.4 kB / 0.5331 GB, free: 3.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4028, allocations: 350.9 kB / 0.5334 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.4034, allocations: 252.5 kB / 0.5337 GB, free: 2.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006722/0.4041, allocations: 361.2 kB / 0.534 GB, free: 2.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.4145, allocations: 2.242 MB / 0.5362 GB, free: 2.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.4145, allocations: 5.812 kB / 0.5362 GB, free: 2.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001356/0.4158, allocations: 0.7014 MB / 0.5369 GB, free: 1.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4159, allocations: 6.625 kB / 0.5369 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4159, allocations: 3.422 kB / 0.5369 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.4159, allocations: 6.281 kB / 0.5369 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.4175, allocations: 305.8 kB / 0.5372 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.4195, allocations: 2.635 MB / 0.5398 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.4201, allocations: 28.44 kB / 0.5398 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.4202, allocations: 27.41 kB / 0.5398 GB, free: 15.04 MB / 398.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.str1.w = 0.0 $DER.str2.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003899/0.4206, allocations: 178.2 kB / 0.54 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4207, allocations: 39.03 kB / 0.54 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.422, allocations: 0.6134 MB / 0.5406 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.422, allocations: 5.719 kB / 0.5406 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.422, allocations: 0 / 0.5406 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.422, allocations: 6.75 kB / 0.5406 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.4242, allocations: 1.097 MB / 0.5417 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4242, allocations: 5.531 kB / 0.5417 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.4258, allocations: 254.6 kB / 0.542 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.4258, allocations: 3.359 kB / 0.542 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.4258, allocations: 21.38 kB / 0.542 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.4285, allocations: 2.627 MB / 0.5446 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4285, allocations: 0 / 0.5446 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.4306, allocations: 0.883 MB / 0.5454 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.4308, allocations: 42.97 kB / 0.5455 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.4308, allocations: 16.23 kB / 0.5455 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.4312, allocations: 19.95 kB / 0.5455 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.4314, allocations: 41.69 kB / 0.5455 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.4314, allocations: 12.72 kB / 0.5455 GB, free: 10.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004031/0.4318, allocations: 252.2 kB / 0.5458 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4318, allocations: 0 / 0.5458 GB, free: 10.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006912/0.4325, allocations: 145.4 kB / 0.5459 GB, free: 10.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.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 (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00203/0.4346, allocations: 1.428 MB / 0.5473 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.4362, allocations: 0.5961 MB / 0.5479 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4363, allocations: 0 / 0.5479 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.4371, allocations: 303.3 kB / 0.5482 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.4376, allocations: 100.4 kB / 0.5483 GB, free: 9.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008894/0.4465, allocations: 5.357 MB / 0.5535 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.4468, allocations: 219.5 kB / 0.5537 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004609/0.4472, allocations: 123 kB / 0.5538 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.4476, allocations: 144.6 kB / 0.554 GB, free: 5.148 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4476, allocations: 0 / 0.554 GB, free: 5.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04658/0.4941, allocations: 12.94 MB / 0.5666 GB, free: 11.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.74, allocations: 2.812 kB / 0.5666 GB, free: 11.85 MB / 414.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_006_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_006.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.859338781330734] Failed to read output from testmodel.py, exit status != 0: 13.872448876034468 13.896106713 13.504265386 Calling exit ...