Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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.001338/0.001338, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.001561/0.001561, allocations: 204 kB / 20.11 MB, free: 2.977 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.662/1.662, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1129/0.1129, allocations: 24.03 MB / 333.6 MB, free: 1.578 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_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",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.002112/0.002112, allocations: 69.95 kB / 468.4 MB, free: 31.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1131, allocations: 59.55 MB / 0.5156 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.005595/0.1187, allocations: 4.052 MB / 0.5195 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1212, allocations: 1.232 MB / 0.5207 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.1214, allocations: 19.81 kB / 0.5208 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.1218, allocations: 146.8 kB / 0.5209 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006753/0.1225, allocations: 405.7 kB / 0.5213 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.1232, allocations: 283.6 kB / 0.5216 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.1252, allocations: 1.978 MB / 0.5235 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.1267, allocations: 1.218 MB / 0.5247 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009629/0.1277, allocations: 0.7755 MB / 0.5254 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.1289, allocations: 0.9076 MB / 0.5263 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.1292, allocations: 220 kB / 0.5265 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.1295, allocations: 216 kB / 0.5267 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005752/0.1301, allocations: 0.6469 MB / 0.5274 GB, free: 136 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008881/0.131, allocations: 0.8408 MB / 0.5282 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.1333, allocations: 2.391 MB / 0.5305 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1333, allocations: 0 / 0.5305 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1333, allocations: 3.938 kB / 0.5305 GB, free: 12.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.1334, allocations: 3.938 kB / 0.5305 GB, free: 12.88 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.004443/0.1378, allocations: 1.916 MB / 0.5324 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1378, allocations: 8.625 kB / 0.5324 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002468/0.1381, allocations: 164.6 kB / 0.5326 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.1384, allocations: 140.1 kB / 0.5327 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.1397, allocations: 0.8216 MB / 0.5335 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.1398, allocations: 78.39 kB / 0.5336 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.14, allocations: 124.3 kB / 0.5337 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.1426, allocations: 1.429 MB / 0.5351 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1426, allocations: 0 / 0.5351 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.1427, allocations: 44 kB / 0.5351 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.1427, allocations: 24 kB / 0.5352 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.145, allocations: 1.269 MB / 0.5364 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009689/0.1547, allocations: 6.195 MB / 0.5425 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004453/0.1591, allocations: 1.76 MB / 0.5442 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.1603, allocations: 0.691 MB / 0.5448 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.3e-05/0.1604, allocations: 12.98 kB / 0.5449 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.1604, allocations: 47.5 kB / 0.5449 GB, free: 13.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 6.642e-06/0.1605, allocations: 3.984 kB / 0.5449 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=104): time 0.01545/0.1759, allocations: 6.002 MB / 0.5508 GB, free: 7.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.176, allocations: 64.34 kB / 0.5508 GB, free: 7.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009372/0.1769, allocations: 0.6408 MB / 0.5515 GB, free: 6.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.177, allocations: 45.7 kB / 0.5515 GB, free: 6.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.1774, allocations: 460.9 kB / 0.5519 GB, free: 6.113 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/0.1778, allocations: 436.3 kB / 0.5524 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.1783, allocations: 241.5 kB / 0.5526 GB, free: 5.441 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002385/0.1786, allocations: 406.7 kB / 0.553 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.18, allocations: 0.7958 MB / 0.5538 GB, free: 4.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.1815, allocations: 0.9776 MB / 0.5547 GB, free: 3.207 MB / 414.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.01448/0.196, allocations: 4.547 MB / 0.5591 GB, free: 14.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.196, allocations: 4 kB / 0.5592 GB, free: 14.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005855/0.2019, allocations: 2.529 MB / 0.5616 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2019, allocations: 10.34 kB / 0.5616 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2019, allocations: 4 kB / 0.5616 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/0.2048, allocations: 0.6579 MB / 0.5623 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.2065, allocations: 363.5 kB / 0.5626 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/0.228, allocations: 20 MB / 0.5822 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.2295, allocations: 87.89 kB / 0.5822 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.2297, allocations: 51.98 kB / 0.5823 GB, free: 5.09 MB / 446.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.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (144): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0008974/0.2306, allocations: 404.6 kB / 0.5827 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.2308, allocations: 95.38 kB / 0.5828 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005066/0.2359, allocations: 2.097 MB / 0.5848 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.2359, allocations: 12 kB / 0.5848 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.2359, allocations: 7.984 kB / 0.5848 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.2359, allocations: 3.984 kB / 0.5848 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2715/0.5074, allocations: 3.955 MB / 0.5887 GB, free: 66.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5074, allocations: 1.906 kB / 0.5887 GB, free: 66.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/0.5093, allocations: 326.7 kB / 0.589 GB, free: 66.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/0.5112, allocations: 0.5323 MB / 0.5895 GB, free: 66.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.5113, allocations: 68.48 kB / 0.5896 GB, free: 66.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.5223, allocations: 18.53 MB / 0.6077 GB, free: 49.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5223, allocations: 1.188 kB / 0.6077 GB, free: 49.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005/0.5273, allocations: 2.764 MB / 0.6104 GB, free: 48.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.5276, allocations: 177.7 kB / 0.6106 GB, free: 48.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.5278, allocations: 60.16 kB / 0.6106 GB, free: 48.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.5285, allocations: 49.67 kB / 0.6107 GB, free: 48.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/0.5288, allocations: 98.17 kB / 0.6108 GB, free: 48.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.5289, allocations: 35.94 kB / 0.6108 GB, free: 48.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005274/0.5294, allocations: 452.7 kB / 0.6112 GB, free: 48.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5294, allocations: 0 / 0.6112 GB, free: 48.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001455/0.5309, allocations: 438.2 kB / 0.6116 GB, free: 48.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.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 (89): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005141/0.536, allocations: 3.373 MB / 0.6149 GB, free: 46.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004461/0.5405, allocations: 3.114 MB / 0.618 GB, free: 44.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5405, allocations: 1.156 kB / 0.618 GB, free: 44.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.5433, allocations: 2.198 MB / 0.6201 GB, free: 42.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.545, allocations: 295.3 kB / 0.6204 GB, free: 42.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/0.5694, allocations: 15.23 MB / 0.6353 GB, free: 33.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.5701, allocations: 1.216 MB / 0.6365 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009279/0.571, allocations: 354.3 kB / 0.6368 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/0.5716, allocations: 435.3 kB / 0.6372 GB, free: 31.75 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5716, allocations: 0 / 0.6372 GB, free: 31.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/0.6751, allocations: 35.56 MB / 0.672 GB, free: 12.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.03, allocations: 7.625 kB / 0.672 GB, free: 12.52 MB / 462.1 MB " [Timeout remaining time 645] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_005_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_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.44865300715901] Failed to read output from testmodel.py, exit status != 0: 15.159677462186664 15.174137206 15.037890631 Calling exit ...