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.001914/0.001914, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.002293/0.002293, allocations: 207.2 kB / 20.11 MB, free: 3.062 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.578/1.578, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1082/0.1082, allocations: 24.03 MB / 333.6 MB, free: 1.551 MB / 254.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.0024/0.0024, allocations: 65.06 kB / 468.4 MB, free: 31.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1339, allocations: 59.55 MB / 0.5156 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.005343/0.1392, allocations: 2.644 MB / 0.5182 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.1416, allocations: 0.8494 MB / 0.519 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.142, allocations: 8 kB / 0.519 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1424, allocations: 51.5 kB / 0.5191 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007304/0.1431, allocations: 119.1 kB / 0.5192 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.1439, allocations: 143.6 kB / 0.5193 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009957/0.1449, allocations: 482.8 kB / 0.5198 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007884/0.1457, allocations: 300.4 kB / 0.5201 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.1463, allocations: 227.2 kB / 0.5203 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008044/0.1471, allocations: 299.1 kB / 0.5206 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.1473, allocations: 48 kB / 0.5206 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.1477, allocations: 91.97 kB / 0.5207 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.1479, allocations: 159.5 kB / 0.5208 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004718/0.1484, allocations: 246.9 kB / 0.5211 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1495, allocations: 0.576 MB / 0.5216 GB, free: 6.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1496, allocations: 0 / 0.5216 GB, free: 6.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1496, allocations: 0 / 0.5216 GB, free: 6.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.1496, allocations: 0 / 0.5216 GB, free: 6.039 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.002586/0.1522, allocations: 0.74 MB / 0.5224 GB, free: 5.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.32e-05/0.1523, allocations: 12.62 kB / 0.5224 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.1524, allocations: 70.72 kB / 0.5224 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.1525, allocations: 48.64 kB / 0.5225 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.1532, allocations: 326.7 kB / 0.5228 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.1533, allocations: 25.03 kB / 0.5228 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.1534, allocations: 32.38 kB / 0.5229 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009602/0.1543, allocations: 421.9 kB / 0.5233 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1543, allocations: 3.984 kB / 0.5233 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.927e-05/0.1544, allocations: 16 kB / 0.5233 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.1544, allocations: 8 kB / 0.5233 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009212/0.1553, allocations: 402.4 kB / 0.5237 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.1586, allocations: 1.314 MB / 0.525 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.1593, allocations: 286.6 kB / 0.5252 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.1597, allocations: 200.8 kB / 0.5254 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.1597, allocations: 12.44 kB / 0.5254 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.1598, allocations: 34.56 kB / 0.5255 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004883/0.1603, allocations: 75.73 kB / 0.5255 GB, free: 1.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.777e-06/0.1603, allocations: 4 kB / 0.5255 GB, free: 1.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.006531/0.1668, allocations: 1.606 MB / 0.5271 GB, free: 208 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.1669, allocations: 59.27 kB / 0.5272 GB, free: 136 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.1674, allocations: 320.5 kB / 0.5275 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.1675, allocations: 29.7 kB / 0.5275 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.1677, allocations: 204.5 kB / 0.5277 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.1678, allocations: 138.8 kB / 0.5278 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.168, allocations: 86.09 kB / 0.5279 GB, free: 15.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.1683, allocations: 346.7 kB / 0.5282 GB, free: 15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.1687, allocations: 192.8 kB / 0.5284 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.1692, allocations: 249.8 kB / 0.5287 GB, free: 14.55 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.01007/0.1793, allocations: 1.806 MB / 0.5304 GB, free: 12.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.1793, allocations: 0 / 0.5304 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002466/0.1817, allocations: 0.6431 MB / 0.5311 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.1818, allocations: 4 kB / 0.5311 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.1818, allocations: 4 kB / 0.5311 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.1833, allocations: 201.5 kB / 0.5313 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.184, allocations: 107.8 kB / 0.5314 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.1856, allocations: 1.171 MB / 0.5325 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.1861, allocations: 20.02 kB / 0.5325 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.1862, allocations: 23.92 kB / 0.5325 GB, free: 10.49 MB / 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.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.0003409/0.1865, allocations: 166.7 kB / 0.5327 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.1867, allocations: 35.77 kB / 0.5327 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.1888, allocations: 0.6431 MB / 0.5334 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.1888, allocations: 12 kB / 0.5334 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1888, allocations: 0 / 0.5334 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.1888, allocations: 7.922 kB / 0.5334 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.1917, allocations: 1.176 MB / 0.5345 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.1917, allocations: 0 / 0.5345 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.1922, allocations: 83.94 kB / 0.5346 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.1933, allocations: 165.5 kB / 0.5348 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.1933, allocations: 15.98 kB / 0.5348 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.1945, allocations: 1.167 MB / 0.5359 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1945, allocations: 0 / 0.5359 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.1964, allocations: 0.8905 MB / 0.5368 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.1966, allocations: 116.9 kB / 0.5369 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.1967, allocations: 16 kB / 0.5369 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.197, allocations: 12.23 kB / 0.5369 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.1971, allocations: 31.95 kB / 0.537 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/0.1971, allocations: 16 kB / 0.537 GB, free: 5.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002939/0.1974, allocations: 231 kB / 0.5372 GB, free: 5.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1974, allocations: 0 / 0.5372 GB, free: 5.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.198, allocations: 108 kB / 0.5373 GB, free: 5.418 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.002395/0.2004, allocations: 1.454 MB / 0.5387 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.2018, allocations: 483.7 kB / 0.5392 GB, free: 3.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2018, allocations: 4 kB / 0.5392 GB, free: 3.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007319/0.2025, allocations: 264 kB / 0.5394 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.2031, allocations: 97.09 kB / 0.5395 GB, free: 3.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008067/0.2112, allocations: 4.443 MB / 0.5439 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.2117, allocations: 0.8158 MB / 0.5447 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.212, allocations: 79.25 kB / 0.5447 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.2123, allocations: 143.4 kB / 0.5449 GB, free: 13.48 MB / 414.1 MB Notification: Performance of SimCode: time 1.864e-06/0.2123, allocations: 0 / 0.5449 GB, free: 13.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.254, allocations: 10.76 MB / 0.5554 GB, free: 2.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.84, allocations: 15.11 kB / 0.5554 GB, free: 2.852 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.95195654220879] Failed to read output from testmodel.py, exit status != 0: 12.941424421966076 12.964004418 12.809790841 Calling exit ...