Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.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.001058/0.001058, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001243/0.001243, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8719/0.8719, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01377/0.01377, allocations: 1.98 MB / 261.2 MB, free: 11.27 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 384.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.335e-05, allocations: 5.234 kB / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.0118/0.01181, allocations: 17.29 MB / 401.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.01471, allocations: 5.266 MB / 407.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.01481, allocations: 0 / 407.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.01523, allocations: 210.6 kB / 407.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.01725, allocations: 1.221 MB / 408.6 MB, free: 3.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.01743, allocations: 91.3 kB / 408.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.01768, allocations: 329.4 kB / 409 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.01774, allocations: 16.92 kB / 409.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.01783, allocations: 135.6 kB / 409.2 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.01792, allocations: 95.73 kB / 409.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.01794, allocations: 4 kB / 409.3 MB, free: 3.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8671/0.8851, allocations: 39.15 MB / 448.4 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.8851, allocations: 34.56 kB / 448.5 MB, free: 4.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.8852, allocations: 94.61 kB / 448.6 MB, free: 4.266 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.8864, allocations: 0.5011 MB / 449.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8864, allocations: 4 kB / 449.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.8864, allocations: 0 / 449.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.8864, allocations: 0 / 449.1 MB, free: 4.008 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0003683/0.8867, allocations: 0.493 MB / 449.6 MB, free: 3.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8868, allocations: 12.03 kB / 449.6 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.8868, allocations: 69.17 kB / 449.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.8872, allocations: 205.1 kB / 449.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.145e-05/0.8872, allocations: 131.9 kB / 450 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.8872, allocations: 20.88 kB / 450 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.8873, allocations: 22.94 kB / 450 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.8875, allocations: 342.5 kB / 450.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.8875, allocations: 7.125 kB / 450.4 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.8875, allocations: 7.625 kB / 450.4 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.8875, allocations: 10.11 kB / 450.4 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.8877, allocations: 276.1 kB / 450.6 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.8884, allocations: 0.8537 MB / 451.5 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.8885, allocations: 97.2 kB / 451.6 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.8885, allocations: 72.81 kB / 451.7 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.8888, allocations: 0.504 MB / 452.2 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.8888, allocations: 37.47 kB / 452.2 MB, free: 1.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.122e-06/0.8888, allocations: 4 kB / 452.2 MB, free: 1.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002382/0.8891, allocations: 186.2 kB / 452.4 MB, free: 1.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.8891, allocations: 85.09 kB / 452.5 MB, free: 1.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.989e-05/0.8892, allocations: 101.1 kB / 452.6 MB, free: 1.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-06/0.8892, allocations: 25.7 kB / 452.6 MB, free: 1.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.8892, allocations: 163.4 kB / 452.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.8892, allocations: 110 kB / 452.9 MB, free: 1.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.8893, allocations: 44.09 kB / 452.9 MB, free: 1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.059e-05/0.8893, allocations: 318.3 kB / 453.2 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/0.8893, allocations: 37.67 kB / 453.3 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.8894, allocations: 78.89 kB / 453.3 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.8895, allocations: 146.9 kB / 453.5 MB, free: 492 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8895, allocations: 4 kB / 453.5 MB, free: 488 kB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001506/0.8896, allocations: 157 kB / 453.6 MB, free: 376 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.8896, allocations: 4 kB / 453.6 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8896, allocations: 4 kB / 453.6 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.8896, allocations: 4.188 kB / 453.6 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.8897, allocations: 15.98 kB / 453.7 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8897, allocations: 0 / 453.7 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.8897, allocations: 19.84 kB / 453.7 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.8897, allocations: 6.812 kB / 453.7 MB, free: 324 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5.623e-05/0.8898, allocations: 133.3 kB / 453.8 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.8898, allocations: 12.09 kB / 453.8 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.8898, allocations: 12.2 kB / 453.8 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.8898, allocations: 0 / 453.8 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8899, allocations: 4 kB / 453.8 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8899, allocations: 7.984 kB / 453.9 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.89, allocations: 241.8 kB / 454.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.89, allocations: 4 kB / 454.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-06/0.89, allocations: 0 / 454.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8901, allocations: 4 kB / 454.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.8901, allocations: 0 / 454.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.8901, allocations: 3.375 kB / 454.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8901, allocations: 0 / 454.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.8902, allocations: 327.8 kB / 454.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.8902, allocations: 11.89 kB / 454.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.8902, allocations: 0 / 454.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.8903, allocations: 4 kB / 454.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.8903, allocations: 4 kB / 454.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.8903, allocations: 7.812 kB / 454.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.559e-05/0.8903, allocations: 82.64 kB / 454.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.8903, allocations: 4 kB / 454.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.8906, allocations: 87.41 kB / 454.6 MB, free: 15.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005367/0.8911, allocations: 0.9351 MB / 455.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.8913, allocations: 213.4 kB / 455.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8913, allocations: 0 / 455.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.8914, allocations: 177.7 kB / 455.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.8918, allocations: 78.8 kB / 456 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.8924, allocations: 0.571 MB / 456.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.8926, allocations: 191.1 kB / 456.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.735e-05/0.8926, allocations: 29.12 kB / 456.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.8927, allocations: 115.9 kB / 456.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.8927, allocations: 3.938 kB / 456.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.911, allocations: 9.05 MB / 466 MB, free: 4.293 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.244/8.155, allocations: 0 / 466 MB, free: 4.293 MB / 346.7 MB " [Timeout remaining time 652] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.790524629876018] Failed to read output from testmodel.py, exit status != 0: 8.489368258044124 8.500901956 7.612826399 Calling exit ...