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.001664/0.001664, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002199/0.002199, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.01166/0.01166, allocations: 2.003 MB / 261.8 MB, free: 14.66 MB / 254.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: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") [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.00257/0.00257, allocations: 68.02 kB / 385.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1248, allocations: 54.14 MB / 439.8 MB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2884/0.4132, allocations: 45.39 MB / 485.2 MB, free: 49.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.4302, allocations: 25.14 MB / 0.4984 GB, free: 47.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.4306, allocations: 3.188 kB / 0.4984 GB, free: 47.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.4319, allocations: 0.5023 MB / 0.4989 GB, free: 47.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.4374, allocations: 2.188 MB / 0.501 GB, free: 45.83 MB / 446.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.00736/0.4447, allocations: 2.891 MB / 0.5038 GB, free: 44.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.4458, allocations: 0.9314 MB / 0.5047 GB, free: 44.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.4459, allocations: 29.16 kB / 0.5048 GB, free: 44 MB / 446.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.691/1.137, allocations: 52.01 MB / 0.5556 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/1.139, allocations: 285.5 kB / 0.5558 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.038e-05/1.139, allocations: 40 kB / 0.5559 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.228/1.367, allocations: 27.39 MB / 0.5826 GB, free: 6.023 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003614/1.367, allocations: 116.5 kB / 0.5827 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007806/1.368, allocations: 269.7 kB / 0.583 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008126/1.376, allocations: 1.865 MB / 0.5848 GB, free: 4.129 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.376, allocations: 0 / 0.5848 GB, free: 4.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/1.376, allocations: 0 / 0.5848 GB, free: 4.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.245e-05/1.376, allocations: 0 / 0.5848 GB, free: 4.129 MB / 462.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.002543/1.379, allocations: 1.046 MB / 0.5858 GB, free: 3.141 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.379, allocations: 8.031 kB / 0.5858 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/1.381, allocations: 0.4963 MB / 0.5863 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003931/1.385, allocations: 277.5 kB / 0.5866 GB, free: 2.488 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/1.385, allocations: 46.06 kB / 0.5866 GB, free: 2.445 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/1.385, allocations: 56 kB / 0.5867 GB, free: 2.391 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/1.387, allocations: 0.9881 MB / 0.5876 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/1.387, allocations: 0 / 0.5876 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/1.387, allocations: 24 kB / 0.5877 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/1.388, allocations: 33.53 kB / 0.5877 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/1.389, allocations: 0.7125 MB / 0.5884 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/1.392, allocations: 2.627 MB / 0.591 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/1.393, allocations: 281 kB / 0.5912 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/1.393, allocations: 165.4 kB / 0.5914 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/1.394, allocations: 0.8773 MB / 0.5922 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.395, allocations: 42.5 kB / 0.5923 GB, free: 12.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 1.793e-06/1.395, allocations: 0 / 0.5923 GB, free: 12.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.001801/1.396, allocations: 0.632 MB / 0.5929 GB, free: 12.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/1.396, allocations: 77.11 kB / 0.593 GB, free: 12.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/1.397, allocations: 186 kB / 0.5932 GB, free: 11.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/1.397, allocations: 29.89 kB / 0.5932 GB, free: 11.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/1.397, allocations: 284.5 kB / 0.5935 GB, free: 11.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/1.397, allocations: 261.6 kB / 0.5937 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/1.397, allocations: 94 kB / 0.5938 GB, free: 11.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/1.397, allocations: 338.8 kB / 0.5941 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/1.398, allocations: 125.3 kB / 0.5942 GB, free: 10.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/1.398, allocations: 296.3 kB / 0.5945 GB, free: 10.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007819/1.399, allocations: 477.5 kB / 0.595 GB, free: 9.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.399, allocations: 0 / 0.595 GB, free: 9.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009313/1.4, allocations: 484.1 kB / 0.5954 GB, free: 9.359 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.4, allocations: 8 kB / 0.5954 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.4, allocations: 8.625 kB / 0.5955 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.4, allocations: 11.94 kB / 0.5955 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/1.4, allocations: 67.91 kB / 0.5955 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/1.4, allocations: 19.91 kB / 0.5955 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/1.4, allocations: 59.52 kB / 0.5956 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/1.4, allocations: 16 kB / 0.5956 GB, free: 9.172 MB / 478.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.0002415/1.401, allocations: 197.6 kB / 0.5958 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/1.401, allocations: 27.81 kB / 0.5958 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/1.401, allocations: 29.97 kB / 0.5959 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.401, allocations: 3.938 kB / 0.5959 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.401, allocations: 4 kB / 0.5959 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/1.401, allocations: 7.984 kB / 0.5959 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/1.401, allocations: 340.3 kB / 0.5962 GB, free: 8.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.401, allocations: 0 / 0.5962 GB, free: 8.535 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/1.402, allocations: 35.91 kB / 0.5962 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/1.402, allocations: 4 kB / 0.5962 GB, free: 8.496 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/1.402, allocations: 8 kB / 0.5962 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.402, allocations: 0 / 0.5962 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.402, allocations: 3.938 kB / 0.5963 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008245/1.402, allocations: 0.5294 MB / 0.5968 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/1.402, allocations: 39.62 kB / 0.5968 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/1.402, allocations: 4 kB / 0.5968 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/1.403, allocations: 8 kB / 0.5968 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/1.403, allocations: 31.89 kB / 0.5968 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/1.403, allocations: 4 kB / 0.5969 GB, free: 7.852 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001056/1.403, allocations: 121 kB / 0.597 GB, free: 7.734 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.403, allocations: 0 / 0.597 GB, free: 7.734 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007535/1.404, allocations: 203.4 kB / 0.5972 GB, free: 7.535 MB / 478.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.00067/1.404, allocations: 316.7 kB / 0.5975 GB, free: 7.211 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/1.405, allocations: 0.5664 MB / 0.598 GB, free: 6.629 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.405, allocations: 0 / 0.598 GB, free: 6.629 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/1.406, allocations: 468.6 kB / 0.5985 GB, free: 6.109 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.407, allocations: 192.9 kB / 0.5986 GB, free: 5.922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/1.409, allocations: 1.061 MB / 0.5997 GB, free: 4.832 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/1.409, allocations: 353.6 kB / 0.6 GB, free: 4.461 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005677/1.41, allocations: 269.7 kB / 0.6003 GB, free: 4.188 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.41, allocations: 52.5 kB / 0.6003 GB, free: 4.137 MB / 478.1 MB Notification: Performance of SimCode: time 3.4e-07/1.41, allocations: 0 / 0.6003 GB, free: 4.137 MB / 478.1 MB Notification: Performance of Templates: time 0.02214/1.432, allocations: 11.19 MB / 0.6113 GB, free: 8.961 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.523664366919547] Failed to read output from testmodel.py, exit status != 0: 1.4419591889018193 1.4569552590000001 0.077234643 Calling exit ...