Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.000745/0.000745, 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.0007608/0.0007608, allocations: 169.9 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.8765/0.8765, allocations: 177.1 MB / 202.8 MB, free: 5.555 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.008249/0.008249, allocations: 1.985 MB / 261.2 MB, free: 11.16 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.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 384.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.55e-05, allocations: 2.281 kB / 384.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.1654/0.1654, allocations: 45.15 MB / 429.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.1783, allocations: 25.13 MB / 455 MB, free: 12.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.1787, allocations: 10.91 kB / 455 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.1798, allocations: 0.512 MB / 455.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.1843, allocations: 2.267 MB / 457.7 MB, free: 10.45 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_Tabular.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00669/0.191, allocations: 2.989 MB / 460.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009721/0.192, allocations: 0.976 MB / 461.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.1921, allocations: 25.97 kB / 461.7 MB, free: 7.41 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.7523/0.9443, allocations: 52.14 MB / 0.5018 GB, free: 5.332 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.945, allocations: 235.4 kB / 0.5021 GB, free: 5.102 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.945, allocations: 40 kB / 0.5021 GB, free: 5.062 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07743/1.022, allocations: 27.39 MB / 0.5288 GB, free: 9.492 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/1.023, allocations: 119.4 kB / 0.529 GB, free: 9.375 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004519/1.023, allocations: 227.5 kB / 0.5292 GB, free: 9.152 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006649/1.03, allocations: 1.897 MB / 0.531 GB, free: 7.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.03, allocations: 3.938 kB / 0.531 GB, free: 7.246 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.03, allocations: 0 / 0.531 GB, free: 7.246 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/1.03, allocations: 0 / 0.531 GB, free: 7.246 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.001517/1.031, allocations: 1.037 MB / 0.532 GB, free: 6.176 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.031, allocations: 12.03 kB / 0.5321 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.678e-05/1.031, allocations: 115.1 kB / 0.5322 GB, free: 6.043 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/1.033, allocations: 0.4961 MB / 0.5327 GB, free: 5.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/1.033, allocations: 284.9 kB / 0.5329 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/1.033, allocations: 45.69 kB / 0.533 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/1.033, allocations: 52.38 kB / 0.533 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/1.034, allocations: 0.9776 MB / 0.534 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/1.034, allocations: 11.81 kB / 0.534 GB, free: 4.078 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/1.034, allocations: 32 kB / 0.534 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/1.034, allocations: 35.97 kB / 0.5341 GB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007943/1.035, allocations: 0.7123 MB / 0.5347 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/1.037, allocations: 2.722 MB / 0.5374 GB, free: 496 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/1.038, allocations: 269.2 kB / 0.5377 GB, free: 208 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.038, allocations: 162.3 kB / 0.5378 GB, free: 40 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/1.039, allocations: 0.8948 MB / 0.5387 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/1.039, allocations: 42.56 kB / 0.5387 GB, free: 15.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 1.803e-06/1.039, allocations: 0 / 0.5387 GB, free: 15.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.001042/1.04, allocations: 0.6157 MB / 0.5393 GB, free: 14.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/1.04, allocations: 81.11 kB / 0.5394 GB, free: 14.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/1.04, allocations: 187.3 kB / 0.5396 GB, free: 14.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/1.04, allocations: 25.7 kB / 0.5396 GB, free: 14.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/1.04, allocations: 280.6 kB / 0.5399 GB, free: 13.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/1.04, allocations: 257.6 kB / 0.5401 GB, free: 13.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/1.04, allocations: 93.95 kB / 0.5402 GB, free: 13.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/1.04, allocations: 346.8 kB / 0.5405 GB, free: 13.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/1.04, allocations: 117.3 kB / 0.5407 GB, free: 13.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/1.041, allocations: 296.6 kB / 0.5409 GB, free: 12.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/1.041, allocations: 473.5 kB / 0.5414 GB, free: 12.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.041, allocations: 4 kB / 0.5414 GB, free: 12.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004931/1.042, allocations: 480.8 kB / 0.5419 GB, free: 11.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.042, allocations: 8 kB / 0.5419 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.042, allocations: 8 kB / 0.5419 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.042, allocations: 11.98 kB / 0.5419 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/1.042, allocations: 71.84 kB / 0.5419 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.042, allocations: 11.94 kB / 0.542 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/1.042, allocations: 59.5 kB / 0.542 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/1.042, allocations: 20 kB / 0.542 GB, free: 11.48 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.0002123/1.042, allocations: 189.9 kB / 0.5422 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/1.043, allocations: 27.81 kB / 0.5422 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/1.043, allocations: 41.89 kB / 0.5423 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.043, allocations: 0 / 0.5423 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.043, allocations: 3.938 kB / 0.5423 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.043, allocations: 4 kB / 0.5423 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/1.043, allocations: 447.6 kB / 0.5427 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.043, allocations: 3.938 kB / 0.5427 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/1.043, allocations: 28.36 kB / 0.5427 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.043, allocations: 0 / 0.5427 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.043, allocations: 11.98 kB / 0.5428 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.043, allocations: 4 kB / 0.5428 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.043, allocations: 7.875 kB / 0.5428 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/1.044, allocations: 0.5293 MB / 0.5433 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/1.044, allocations: 35.64 kB / 0.5433 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/1.044, allocations: 8 kB / 0.5433 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/1.044, allocations: 11.98 kB / 0.5433 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/1.044, allocations: 23.89 kB / 0.5434 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/1.044, allocations: 12 kB / 0.5434 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001938/1.044, allocations: 119.2 kB / 0.5435 GB, free: 9.922 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/1.044, allocations: 4 kB / 0.5435 GB, free: 9.918 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005205/1.045, allocations: 195.5 kB / 0.5437 GB, free: 9.727 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.001078/1.046, allocations: 1.271 MB / 0.5449 GB, free: 8.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005661/1.046, allocations: 0.5608 MB / 0.5455 GB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.046, allocations: 0 / 0.5455 GB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/1.046, allocations: 476.5 kB / 0.5459 GB, free: 7.305 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/1.047, allocations: 192.8 kB / 0.5461 GB, free: 7.117 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/1.05, allocations: 3.596 MB / 0.5496 GB, free: 3.305 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/1.05, allocations: 357.7 kB / 0.55 GB, free: 2.926 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003413/1.051, allocations: 261.7 kB / 0.5502 GB, free: 2.672 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/1.051, allocations: 280.4 kB / 0.5505 GB, free: 2.395 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/1.051, allocations: 3.938 kB / 0.5505 GB, free: 2.391 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/1.078, allocations: 19.66 MB / 0.5697 GB, free: 14.81 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/8.384, allocations: 10.92 kB / 0.5697 GB, free: 14.8 MB / 474.7 MB " [Timeout remaining time 651] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.912902085110545] Failed to read output from testmodel.py, exit status != 0: 8.714727142825723 8.723244003 7.691605892 Calling exit ...