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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 107.9 kB / 16.27 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 187.4 kB / 17.2 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01199/0.01199, allocations: 2.777 MB / 293.8 MB, free: 12.05 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 60.09 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2138, allocations: 50.23 MB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.03816/0.252, allocations: 50.7 MB / 456 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02455/0.2766, allocations: 29.1 MB / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.2772, allocations: 3.938 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.2789, allocations: 0.6175 MB / 485.7 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005819/0.2847, allocations: 2.238 MB / 488 MB, free: 13.99 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.0.0/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.007429/0.2922, allocations: 2.935 MB / 490.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.2934, allocations: 0.9208 MB / 491.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2936, allocations: 61.75 kB / 491.9 MB, free: 10.05 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.7025/0.9961, allocations: 51.23 MB / 0.5304 GB, free: 24.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000512/0.9966, allocations: 301.4 kB / 0.5307 GB, free: 24.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.9967, allocations: 38.94 kB / 0.5307 GB, free: 24.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1531/1.15, allocations: 27.04 MB / 0.5571 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/1.15, allocations: 110.7 kB / 0.5572 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004585/1.151, allocations: 339 kB / 0.5576 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005469/1.156, allocations: 1.832 MB / 0.5593 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.156, allocations: 0 / 0.5593 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/1.156, allocations: 0 / 0.5593 GB, free: 5.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/1.156, allocations: 0 / 0.5593 GB, free: 5.477 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00142/1.157, allocations: 1.113 MB / 0.5604 GB, free: 4.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/1.158, allocations: 8.031 kB / 0.5604 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/1.159, allocations: 0.494 MB / 0.5609 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/1.16, allocations: 342.2 kB / 0.5612 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/1.16, allocations: 48.67 kB / 0.5613 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/1.16, allocations: 54.69 kB / 0.5613 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/1.161, allocations: 0.8754 MB / 0.5622 GB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.161, allocations: 4 kB / 0.5622 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/1.161, allocations: 25.44 kB / 0.5622 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/1.161, allocations: 30.48 kB / 0.5623 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/1.162, allocations: 0.7003 MB / 0.5629 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/1.166, allocations: 4.988 MB / 0.5678 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/1.166, allocations: 336 kB / 0.5681 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/1.167, allocations: 236.4 kB / 0.5684 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/1.169, allocations: 1.538 MB / 0.5699 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.169, allocations: 36.62 kB / 0.5699 GB, free: 11.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 2.315e-06/1.169, allocations: 4 kB / 0.5699 GB, free: 11.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.004581/1.173, allocations: 0.6242 MB / 0.5705 GB, free: 11.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.173, allocations: 81.05 kB / 0.5706 GB, free: 11.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/1.173, allocations: 172.8 kB / 0.5707 GB, free: 11.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/1.173, allocations: 33.52 kB / 0.5708 GB, free: 11.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/1.174, allocations: 282.9 kB / 0.571 GB, free: 10.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/1.174, allocations: 236.8 kB / 0.5713 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/1.174, allocations: 98.59 kB / 0.5714 GB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/1.174, allocations: 340.1 kB / 0.5717 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/1.174, allocations: 124.6 kB / 0.5718 GB, free: 10.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/1.175, allocations: 284.3 kB / 0.5721 GB, free: 9.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/1.175, allocations: 469.4 kB / 0.5725 GB, free: 9.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.175, allocations: 8 kB / 0.5725 GB, free: 9.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008356/1.176, allocations: 480.7 kB / 0.573 GB, free: 9.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.176, allocations: 8 kB / 0.573 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.176, allocations: 7.938 kB / 0.573 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/1.176, allocations: 8 kB / 0.573 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/1.177, allocations: 71.25 kB / 0.5731 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.177, allocations: 11.98 kB / 0.5731 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/1.177, allocations: 51.22 kB / 0.5731 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/1.177, allocations: 19.97 kB / 0.5732 GB, free: 9.023 MB / 398.1 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.0002204/1.177, allocations: 199.1 kB / 0.5734 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.24e-05/1.177, allocations: 27.62 kB / 0.5734 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/1.177, allocations: 30.28 kB / 0.5734 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/1.177, allocations: 4.375 kB / 0.5734 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.177, allocations: 0 / 0.5734 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/1.177, allocations: 3.984 kB / 0.5734 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/1.178, allocations: 0.4966 MB / 0.5739 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.178, allocations: 3.938 kB / 0.5739 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/1.178, allocations: 39.44 kB / 0.5739 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.178, allocations: 3.938 kB / 0.574 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/1.178, allocations: 11.75 kB / 0.574 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/1.178, allocations: 4 kB / 0.574 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.178, allocations: 4 kB / 0.574 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/1.179, allocations: 0.5288 MB / 0.5745 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/1.179, allocations: 116.6 kB / 0.5746 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/1.179, allocations: 7.625 kB / 0.5746 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/1.179, allocations: 4 kB / 0.5746 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/1.179, allocations: 23.59 kB / 0.5746 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/1.179, allocations: 15.8 kB / 0.5746 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.449e-05/1.179, allocations: 119.6 kB / 0.5748 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.18, allocations: 0 / 0.5748 GB, free: 7.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006619/1.18, allocations: 198.9 kB / 0.5749 GB, free: 7.461 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: 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.0005183/1.181, allocations: 302.1 kB / 0.5752 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009353/1.182, allocations: 0.6133 MB / 0.5758 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.182, allocations: 0 / 0.5758 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005251/1.182, allocations: 0.5069 MB / 0.5763 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/1.183, allocations: 193.2 kB / 0.5765 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/1.185, allocations: 1.121 MB / 0.5776 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/1.186, allocations: 0.9552 MB / 0.5785 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/1.186, allocations: 47.44 kB / 0.5786 GB, free: 4.039 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/1.186, allocations: 0 / 0.5786 GB, free: 4.039 MB / 398.1 MB Notification: Performance of Templates: time 0.01407/1.2, allocations: 8.97 MB / 0.5873 GB, free: 11.27 MB / 414.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1)