Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.0007195/0.0007195, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008169/0.0008169, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9079/0.9079, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.01155/0.01155, allocations: 1.976 MB / 261.2 MB, free: 11.29 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.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.934e-05, allocations: 2.281 kB / 384.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.1891/0.1891, allocations: 45.15 MB / 429.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.2022, allocations: 25.13 MB / 454.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.2028, allocations: 10.53 kB / 455 MB, free: 12.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.204, allocations: 0.503 MB / 455.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.2091, allocations: 2.274 MB / 457.7 MB, free: 10.39 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.007209/0.2163, allocations: 2.988 MB / 460.7 MB, free: 7.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.2174, allocations: 0.9701 MB / 461.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.2175, allocations: 30.02 kB / 461.7 MB, free: 7.355 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.6022/0.8198, allocations: 51.49 MB / 0.5012 GB, free: 5.945 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.8205, allocations: 243.4 kB / 0.5014 GB, free: 5.707 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.92e-05/0.8205, allocations: 43.94 kB / 0.5015 GB, free: 5.664 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07655/0.8971, allocations: 27.06 MB / 0.5279 GB, free: 10.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.8973, allocations: 111.5 kB / 0.528 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.8976, allocations: 231.5 kB / 0.5282 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.9034, allocations: 1.901 MB / 0.5301 GB, free: 8.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.9034, allocations: 0 / 0.5301 GB, free: 8.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.9034, allocations: 3.938 kB / 0.5301 GB, free: 8.184 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.9034, allocations: 0 / 0.5301 GB, free: 8.184 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001206/0.9046, allocations: 1.044 MB / 0.5311 GB, free: 7.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.9047, allocations: 12.03 kB / 0.5311 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.206e-05/0.9048, allocations: 119 kB / 0.5312 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.9059, allocations: 0.4922 MB / 0.5317 GB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.9062, allocations: 280.9 kB / 0.532 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.9062, allocations: 45.69 kB / 0.532 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.9063, allocations: 56.38 kB / 0.5321 GB, free: 6.082 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000928/0.9072, allocations: 0.9776 MB / 0.533 GB, free: 5.023 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.9072, allocations: 15.81 kB / 0.533 GB, free: 5.008 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.9073, allocations: 24 kB / 0.5331 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.9073, allocations: 27.98 kB / 0.5331 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007814/0.9081, allocations: 0.7201 MB / 0.5338 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.9101, allocations: 2.722 MB / 0.5364 GB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.9105, allocations: 265.2 kB / 0.5367 GB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.9107, allocations: 174.3 kB / 0.5369 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007429/0.9115, allocations: 0.8909 MB / 0.5377 GB, free: 64 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.9115, allocations: 30.56 kB / 0.5378 GB, free: 24 kB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 1.834e-06/0.9115, allocations: 4 kB / 0.5378 GB, free: 20 kB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.00094/0.9124, allocations: 0.6197 MB / 0.5384 GB, free: 15.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.9125, allocations: 81.05 kB / 0.5384 GB, free: 15.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.9126, allocations: 191.4 kB / 0.5386 GB, free: 15.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.9126, allocations: 25.7 kB / 0.5387 GB, free: 15.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.9127, allocations: 288.4 kB / 0.5389 GB, free: 14.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.9128, allocations: 245.7 kB / 0.5392 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-05/0.9129, allocations: 93.97 kB / 0.5393 GB, free: 14.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.913, allocations: 342.8 kB / 0.5396 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.9132, allocations: 121.3 kB / 0.5397 GB, free: 13.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.9135, allocations: 289.4 kB / 0.54 GB, free: 13.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.9141, allocations: 477.5 kB / 0.5404 GB, free: 13.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9141, allocations: 0 / 0.5404 GB, free: 13.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004741/0.9146, allocations: 480.6 kB / 0.5409 GB, free: 12.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.9146, allocations: 11.98 kB / 0.5409 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.9146, allocations: 4 kB / 0.5409 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.9146, allocations: 8 kB / 0.5409 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.9148, allocations: 71.84 kB / 0.541 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9148, allocations: 11.94 kB / 0.541 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.9149, allocations: 59.88 kB / 0.541 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.9149, allocations: 20 kB / 0.5411 GB, free: 12.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001664/0.9151, allocations: 190.1 kB / 0.5412 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.9152, allocations: 31.75 kB / 0.5413 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.9152, allocations: 37.89 kB / 0.5413 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.9152, allocations: 4 kB / 0.5413 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.9152, allocations: 7.875 kB / 0.5413 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9152, allocations: 0 / 0.5413 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.9156, allocations: 455.6 kB / 0.5418 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9156, allocations: 0 / 0.5418 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.9157, allocations: 27.98 kB / 0.5418 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9157, allocations: 0 / 0.5418 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.9157, allocations: 15.98 kB / 0.5418 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9157, allocations: 0 / 0.5418 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9157, allocations: 7.938 kB / 0.5418 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.9161, allocations: 0.5254 MB / 0.5423 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.9162, allocations: 39.64 kB / 0.5424 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.9162, allocations: 7.984 kB / 0.5424 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.9163, allocations: 4 kB / 0.5424 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.9163, allocations: 31.89 kB / 0.5424 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.9164, allocations: 16 kB / 0.5424 GB, free: 10.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.9164, allocations: 119.2 kB / 0.5425 GB, free: 10.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.9164, allocations: 0 / 0.5425 GB, free: 10.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000463/0.9169, allocations: 191.5 kB / 0.5427 GB, free: 10.67 MB / 442.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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001/0.9179, allocations: 1.271 MB / 0.544 GB, free: 9.375 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005448/0.9184, allocations: 0.553 MB / 0.5445 GB, free: 8.797 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9184, allocations: 0 / 0.5445 GB, free: 8.797 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.9187, allocations: 481 kB / 0.545 GB, free: 8.254 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.9193, allocations: 198.7 kB / 0.5451 GB, free: 8.062 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.9225, allocations: 3.596 MB / 0.5487 GB, free: 4.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.9228, allocations: 353.7 kB / 0.549 GB, free: 3.875 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.9232, allocations: 257.9 kB / 0.5492 GB, free: 3.625 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.9234, allocations: 276.4 kB / 0.5495 GB, free: 3.352 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/0.9234, allocations: 0 / 0.5495 GB, free: 3.352 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.957, allocations: 19.61 MB / 0.5687 GB, free: 15.76 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.046/8.003, allocations: 3.859 kB / 0.5687 GB, free: 15.76 MB / 474.7 MB " [Timeout remaining time 652] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.085050992667675] Failed to read output from testmodel.py, exit status != 0: 8.342179015278816 8.348580716 7.4434362499999995 Calling exit ...