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.001314/0.001314, 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.001447/0.001447, allocations: 210.2 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.447/1.447, 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.02154/0.02154, allocations: 2.794 MB / 315.2 MB, free: 96 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.002031/0.002031, allocations: 71.89 kB / 438.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.09022, allocations: 54.17 MB / 492.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.01919/0.1094, allocations: 17.35 MB / 0.4982 GB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.1147, allocations: 5.263 MB / 0.5034 GB, free: 324 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.1149, allocations: 8 kB / 0.5034 GB, free: 316 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.1155, allocations: 206.6 kB / 0.5036 GB, free: 108 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2075/0.3231, allocations: 1.166 MB / 0.5047 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.3233, allocations: 84.09 kB / 0.5048 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004037/0.3237, allocations: 304.7 kB / 0.5051 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.3238, allocations: 13.03 kB / 0.5051 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3239, allocations: 95.58 kB / 0.5052 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.3241, allocations: 108.4 kB / 0.5053 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3241, allocations: 10.56 kB / 0.5053 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5666/0.8907, allocations: 39.16 MB / 0.5435 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.8908, allocations: 36.05 kB / 0.5436 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003129/0.8911, allocations: 103.4 kB / 0.5437 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.8927, allocations: 0.5125 MB / 0.5442 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8927, allocations: 4 kB / 0.5442 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.8927, allocations: 0 / 0.5442 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.8928, allocations: 0 / 0.5442 GB, free: 0.8789 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.0006276/0.8934, allocations: 0.495 MB / 0.5446 GB, free: 428 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.8934, allocations: 13.75 kB / 0.5447 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.255e-05/0.8935, allocations: 70.97 kB / 0.5447 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/0.8942, allocations: 204.8 kB / 0.5449 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.8943, allocations: 131.2 kB / 0.545 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.8944, allocations: 16.62 kB / 0.5451 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.8944, allocations: 27.62 kB / 0.5451 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.8949, allocations: 345.2 kB / 0.5454 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.8949, allocations: 0 / 0.5454 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.8949, allocations: 7.562 kB / 0.5454 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.8949, allocations: 14.34 kB / 0.5454 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.8953, allocations: 279.5 kB / 0.5457 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.8964, allocations: 0.8556 MB / 0.5465 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.8966, allocations: 97.77 kB / 0.5466 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.8967, allocations: 70.11 kB / 0.5467 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/0.8972, allocations: 0.5123 MB / 0.5472 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.8973, allocations: 38.12 kB / 0.5472 GB, free: 14.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.8973, allocations: 0 / 0.5472 GB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003743/0.8976, allocations: 178.7 kB / 0.5474 GB, free: 14.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.8977, allocations: 83.52 kB / 0.5475 GB, free: 14.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.425e-05/0.8978, allocations: 108.5 kB / 0.5476 GB, free: 14.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.8978, allocations: 25.7 kB / 0.5476 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.8979, allocations: 166.1 kB / 0.5478 GB, free: 14.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.549e-05/0.898, allocations: 105.9 kB / 0.5479 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.8981, allocations: 38.59 kB / 0.5479 GB, free: 13.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8982, allocations: 329.3 kB / 0.5482 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.8983, allocations: 35.34 kB / 0.5483 GB, free: 13.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.8983, allocations: 77.77 kB / 0.5483 GB, free: 13.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.8985, allocations: 141.4 kB / 0.5485 GB, free: 13.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8985, allocations: 0 / 0.5485 GB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002262/0.8987, allocations: 160.5 kB / 0.5486 GB, free: 13.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8988, allocations: 10.95 kB / 0.5486 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8988, allocations: 4 kB / 0.5486 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.8988, allocations: 0 / 0.5486 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.8988, allocations: 10.62 kB / 0.5486 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.8989, allocations: 4.188 kB / 0.5487 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.8989, allocations: 23.78 kB / 0.5487 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.8989, allocations: 4 kB / 0.5487 GB, free: 13.24 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.0001174/0.899, allocations: 138.6 kB / 0.5488 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.8991, allocations: 11.91 kB / 0.5488 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.8991, allocations: 14.03 kB / 0.5488 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.8991, allocations: 0 / 0.5488 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8991, allocations: 4 kB / 0.5488 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8991, allocations: 0 / 0.5488 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.8995, allocations: 240.6 kB / 0.5491 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8995, allocations: 0 / 0.5491 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.8995, allocations: 8 kB / 0.5491 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.8995, allocations: 0 / 0.5491 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.8995, allocations: 4 kB / 0.5491 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8995, allocations: 0 / 0.5491 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8995, allocations: 0 / 0.5491 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.9007, allocations: 323.2 kB / 0.5494 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.9008, allocations: 11.89 kB / 0.5494 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.9008, allocations: 0 / 0.5494 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.9009, allocations: 3.938 kB / 0.5494 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.9009, allocations: 6.875 kB / 0.5494 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.9009, allocations: 8 kB / 0.5494 GB, free: 12.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.9009, allocations: 87.2 kB / 0.5495 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9009, allocations: 0 / 0.5495 GB, free: 12.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.9014, allocations: 90.47 kB / 0.5496 GB, free: 12.36 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.0008892/0.9023, allocations: 0.931 MB / 0.5505 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.9026, allocations: 216.4 kB / 0.5507 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9026, allocations: 0 / 0.5507 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.9027, allocations: 184.5 kB / 0.5509 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.9034, allocations: 91.84 kB / 0.551 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.9044, allocations: 0.5917 MB / 0.5515 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.9046, allocations: 195 kB / 0.5517 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.9047, allocations: 21.12 kB / 0.5518 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.9049, allocations: 120.1 kB / 0.5519 GB, free: 10.18 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.9049, allocations: 4 kB / 0.5519 GB, free: 10.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.9424, allocations: 8.924 MB / 0.5606 GB, free: 1.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/12.09, allocations: 18.38 kB / 0.5606 GB, free: 1.336 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.176468882709742] Failed to read output from testmodel.py, exit status != 0: 12.440885070245713 12.459643581 11.563332854 Calling exit ...