Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_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.001657/0.001657, allocations: 110.5 kB / 17.14 MB, free: 5.91 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.00159/0.00159, allocations: 208.5 kB / 20.11 MB, free: 2.953 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.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 15.04 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.1062/0.1062, allocations: 24.03 MB / 333.6 MB, free: 1.535 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_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_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.003098/0.003098, allocations: 65.22 kB / 468.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1263, allocations: 59.55 MB / 0.5156 GB, free: 12.38 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HE_LiquidLiquid_001): time 0.03631/0.1626, allocations: 23.08 MB / 0.5381 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006919/0.1633, allocations: 223.2 kB / 0.5383 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.1635, allocations: 11.94 kB / 0.5384 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.941e-05/0.1636, allocations: 35.64 kB / 0.5384 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.1639, allocations: 99.23 kB / 0.5385 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.164, allocations: 43.88 kB / 0.5385 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.1644, allocations: 282.4 kB / 0.5388 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.1647, allocations: 105.7 kB / 0.5389 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.1649, allocations: 135.5 kB / 0.539 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1651, allocations: 95.56 kB / 0.5391 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.1652, allocations: 12 kB / 0.5391 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.1652, allocations: 16 kB / 0.5391 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.1653, allocations: 35.8 kB / 0.5392 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1654, allocations: 107.4 kB / 0.5393 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1657, allocations: 223 kB / 0.5395 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1657, allocations: 0 / 0.5395 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1657, allocations: 0 / 0.5395 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.1658, allocations: 7.938 kB / 0.5395 GB, free: 4.004 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009012/0.1667, allocations: 0.506 MB / 0.54 GB, free: 3.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1667, allocations: 12.62 kB / 0.54 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.1668, allocations: 46.73 kB / 0.5401 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.1668, allocations: 24.8 kB / 0.5401 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.1672, allocations: 277.7 kB / 0.5403 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1672, allocations: 12.38 kB / 0.5404 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.1673, allocations: 12.38 kB / 0.5404 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.1676, allocations: 171.1 kB / 0.5405 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1676, allocations: 0 / 0.5405 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.1676, allocations: 12 kB / 0.5405 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1676, allocations: 0 / 0.5405 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.1678, allocations: 91.89 kB / 0.5406 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.1688, allocations: 0.8213 MB / 0.5414 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1689, allocations: 66.56 kB / 0.5415 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.169, allocations: 40.84 kB / 0.5415 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.169, allocations: 4 kB / 0.5415 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1691, allocations: 34.5 kB / 0.5416 GB, free: 1.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1691, allocations: 0 / 0.5416 GB, free: 1.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003073/0.1694, allocations: 129.5 kB / 0.5417 GB, free: 1.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1694, allocations: 55.34 kB / 0.5417 GB, free: 1.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.1697, allocations: 271 kB / 0.542 GB, free: 1.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1697, allocations: 29.7 kB / 0.542 GB, free: 1.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1698, allocations: 144 kB / 0.5422 GB, free: 1.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1699, allocations: 31.89 kB / 0.5422 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.1699, allocations: 33.66 kB / 0.5422 GB, free: 0.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1701, allocations: 338.8 kB / 0.5426 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.1702, allocations: 24 kB / 0.5426 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1703, allocations: 62.48 kB / 0.5426 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.1708, allocations: 162.5 kB / 0.5428 GB, free: 364 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1708, allocations: 0 / 0.5428 GB, free: 364 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002761/0.1711, allocations: 129.5 kB / 0.5429 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1711, allocations: 8 kB / 0.5429 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1711, allocations: 0 / 0.5429 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1711, allocations: 0 / 0.5429 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1713, allocations: 27.92 kB / 0.5429 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1713, allocations: 12 kB / 0.543 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.647e-05/0.1714, allocations: 15.83 kB / 0.543 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1714, allocations: 4 kB / 0.543 GB, free: 160 kB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.1716, allocations: 133.8 kB / 0.5431 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.1716, allocations: 23.91 kB / 0.5431 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.1717, allocations: 33.67 kB / 0.5432 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1717, allocations: 4 kB / 0.5432 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1717, allocations: 3.938 kB / 0.5432 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1717, allocations: 0 / 0.5432 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.172, allocations: 237.6 kB / 0.5434 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.172, allocations: 0 / 0.5434 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.1721, allocations: 19.94 kB / 0.5434 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1721, allocations: 0 / 0.5434 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1721, allocations: 7.984 kB / 0.5434 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1721, allocations: 0 / 0.5434 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1721, allocations: 3.938 kB / 0.5434 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.1724, allocations: 239.3 kB / 0.5437 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.1725, allocations: 104.9 kB / 0.5438 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.1726, allocations: 3.984 kB / 0.5438 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1727, allocations: 8 kB / 0.5438 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.1727, allocations: 7.938 kB / 0.5438 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1727, allocations: 4 kB / 0.5438 GB, free: 15.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.1729, allocations: 194 kB / 0.544 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1729, allocations: 4.062 kB / 0.544 GB, free: 15.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1732, allocations: 39.94 kB / 0.544 GB, free: 15.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005942/0.1738, allocations: 0.7596 MB / 0.5447 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.1739, allocations: 64 kB / 0.5448 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1739, allocations: 192 / 0.5448 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/0.174, allocations: 43.91 kB / 0.5448 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1744, allocations: 48.8 kB / 0.5449 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.1772, allocations: 2.301 MB / 0.5471 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1776, allocations: 0.7363 MB / 0.5479 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1777, allocations: 26.28 kB / 0.5479 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1778, allocations: 71.41 kB / 0.548 GB, free: 10.82 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1778, allocations: 0 / 0.548 GB, free: 10.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.208, allocations: 4.673 MB / 0.5525 GB, free: 6.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/8.537, allocations: 9.172 kB / 0.5525 GB, free: 6.215 MB / 414.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001.fmu > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.322580098873004] Failed to read output from testmodel.py, exit status != 0: 8.610433915164322 8.630939796 8.461146463 Calling exit ...