Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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.001701/0.001701, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002143/0.002143, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01348/0.01348, allocations: 2.814 MB / 315.2 MB, free: 168 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia 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.002899/0.002899, allocations: 63.91 kB / 438.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09813, allocations: 54.18 MB / 492.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02177/0.1199, allocations: 17.35 MB / 0.4982 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005643/0.1255, allocations: 5.263 MB / 0.5034 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.1258, allocations: 4 kB / 0.5034 GB, free: 348 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.1265, allocations: 206.6 kB / 0.5036 GB, free: 140 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.203/0.3295, allocations: 1.162 MB / 0.5047 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3298, allocations: 86.5 kB / 0.5048 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.3302, allocations: 305.6 kB / 0.5051 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.3302, allocations: 13.25 kB / 0.5051 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3304, allocations: 98.28 kB / 0.5052 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.3305, allocations: 105 kB / 0.5053 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3306, allocations: 7.156 kB / 0.5053 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5804/0.9109, allocations: 39.16 MB / 0.5435 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.911, allocations: 35.55 kB / 0.5436 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.9114, allocations: 105.9 kB / 0.5437 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.9134, allocations: 0.5107 MB / 0.5442 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.9134, allocations: 0 / 0.5442 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.9134, allocations: 4 kB / 0.5442 GB, free: 1.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.9134, allocations: 0 / 0.5442 GB, free: 1.383 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007395/0.9142, allocations: 0.4951 MB / 0.5446 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.9142, allocations: 8.031 kB / 0.5447 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.9143, allocations: 68.36 kB / 0.5447 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.9151, allocations: 206.2 kB / 0.5449 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.9152, allocations: 131 kB / 0.545 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.9153, allocations: 20.5 kB / 0.5451 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.9153, allocations: 23.69 kB / 0.5451 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.9158, allocations: 342.7 kB / 0.5454 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.9158, allocations: 4 kB / 0.5454 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.9158, allocations: 11.06 kB / 0.5454 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.9158, allocations: 13.52 kB / 0.5454 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.9162, allocations: 276 kB / 0.5457 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.9174, allocations: 0.8533 MB / 0.5465 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.9176, allocations: 104.9 kB / 0.5466 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.9177, allocations: 74.03 kB / 0.5467 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/0.9183, allocations: 0.5004 MB / 0.5472 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.9183, allocations: 34.06 kB / 0.5472 GB, free: 15.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.263e-06/0.9183, allocations: 0 / 0.5472 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.000382/0.9187, allocations: 185.2 kB / 0.5474 GB, free: 14.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.9187, allocations: 81.05 kB / 0.5475 GB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.9188, allocations: 108.2 kB / 0.5476 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.9189, allocations: 29.77 kB / 0.5476 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.919, allocations: 165.3 kB / 0.5478 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.919, allocations: 112.9 kB / 0.5479 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.9191, allocations: 34.3 kB / 0.5479 GB, free: 14.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9193, allocations: 328.5 kB / 0.5482 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.9193, allocations: 36.36 kB / 0.5483 GB, free: 14.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.9194, allocations: 80.03 kB / 0.5483 GB, free: 14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.9196, allocations: 146.3 kB / 0.5485 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9196, allocations: 0 / 0.5485 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002422/0.9198, allocations: 156.4 kB / 0.5486 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.9199, allocations: 4 kB / 0.5486 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9199, allocations: 0 / 0.5486 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.9199, allocations: 4 kB / 0.5486 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.92, allocations: 12.64 kB / 0.5486 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.92, allocations: 4.078 kB / 0.5486 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.348e-05/0.92, allocations: 19.78 kB / 0.5487 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.9201, allocations: 13.48 kB / 0.5487 GB, free: 13.73 MB / 398.1 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 0.0001364/0.9202, allocations: 128.3 kB / 0.5488 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.9202, allocations: 11.91 kB / 0.5488 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.9203, allocations: 16.86 kB / 0.5488 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.9203, allocations: 0 / 0.5488 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9203, allocations: 0 / 0.5488 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.9203, allocations: 3.188 kB / 0.5488 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.9206, allocations: 246.4 kB / 0.5491 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9207, allocations: 0 / 0.5491 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.9207, allocations: 4 kB / 0.5491 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9207, allocations: 4 kB / 0.5491 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.9207, allocations: 4 kB / 0.5491 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.9207, allocations: 0 / 0.5491 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9207, allocations: 0 / 0.5491 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.9227, allocations: 318.9 kB / 0.5494 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.9227, allocations: 23.44 kB / 0.5494 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9227, allocations: 4 kB / 0.5494 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.9228, allocations: 0 / 0.5494 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.9229, allocations: 0 / 0.5494 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.9229, allocations: 8 kB / 0.5494 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.434e-05/0.9229, allocations: 90.7 kB / 0.5495 GB, free: 12.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9229, allocations: 4 kB / 0.5495 GB, free: 12.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.9234, allocations: 83.72 kB / 0.5496 GB, free: 12.86 MB / 398.1 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.0009139/0.9243, allocations: 0.9358 MB / 0.5505 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.9246, allocations: 211 kB / 0.5507 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9246, allocations: 0 / 0.5507 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.9248, allocations: 183.4 kB / 0.5509 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.9255, allocations: 88.34 kB / 0.551 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.9267, allocations: 0.5866 MB / 0.5515 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.9269, allocations: 191 kB / 0.5517 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.927, allocations: 32.59 kB / 0.5517 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.9271, allocations: 118.9 kB / 0.5519 GB, free: 10.68 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.9271, allocations: 0 / 0.5519 GB, free: 10.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.9643, allocations: 8.92 MB / 0.5606 GB, free: 1.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.26, allocations: 7.766 kB / 0.5606 GB, free: 1.84 MB / 398.1 MB " [Timeout remaining time 647] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical_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_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.491352423094213] Failed to read output from testmodel.py, exit status != 0: 12.59426950616762 12.610824411 11.693931218 Calling exit ...