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.00132/0.00132, allocations: 77.62 kB / 19.76 MB, free: 2.031 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.001398/0.001398, allocations: 156.4 kB / 23.01 MB, free: 4.945 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.98 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.01154/0.01154, allocations: 1.997 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.002149/0.002149, allocations: 63.89 kB / 385.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1061, allocations: 54.14 MB / 439.8 MB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.2722/0.3783, allocations: 45.39 MB / 485.2 MB, free: 49.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.3963, allocations: 25.15 MB / 0.4984 GB, free: 47.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.3968, allocations: 3.312 kB / 0.4984 GB, free: 47.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.3982, allocations: 0.5032 MB / 0.4989 GB, free: 47.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.4032, allocations: 2.189 MB / 0.501 GB, free: 45.82 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.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.0.0/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.007839/0.411, allocations: 2.886 MB / 0.5038 GB, free: 44.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.4124, allocations: 0.9332 MB / 0.5047 GB, free: 44.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4125, allocations: 29.2 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.4476/0.8601, allocations: 51.36 MB / 0.5549 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.8612, allocations: 282.2 kB / 0.5552 GB, free: 16.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.8613, allocations: 40 kB / 0.5552 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2229/1.084, allocations: 27.05 MB / 0.5817 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002892/1.085, allocations: 117.3 kB / 0.5818 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006397/1.085, allocations: 272.5 kB / 0.582 GB, free: 6.586 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006652/1.092, allocations: 1.861 MB / 0.5838 GB, free: 5.043 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.092, allocations: 0 / 0.5838 GB, free: 5.043 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/1.092, allocations: 0 / 0.5838 GB, free: 5.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/1.092, allocations: 0 / 0.5838 GB, free: 5.043 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.001684/1.094, allocations: 1.052 MB / 0.5849 GB, free: 4.051 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.094, allocations: 11.97 kB / 0.5849 GB, free: 4.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/1.096, allocations: 0.4919 MB / 0.5854 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/1.098, allocations: 276.7 kB / 0.5856 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/1.098, allocations: 46.06 kB / 0.5857 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/1.098, allocations: 60 kB / 0.5857 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.099, allocations: 0.9855 MB / 0.5867 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/1.099, allocations: 4 kB / 0.5867 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/1.099, allocations: 24 kB / 0.5867 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/1.1, allocations: 28.27 kB / 0.5867 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/1.101, allocations: 0.7159 MB / 0.5874 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/1.104, allocations: 2.627 MB / 0.59 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/1.105, allocations: 277 kB / 0.5903 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/1.105, allocations: 169.5 kB / 0.5904 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.106, allocations: 0.885 MB / 0.5913 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/1.107, allocations: 50.42 kB / 0.5913 GB, free: 13.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 2.053e-06/1.107, allocations: 4 kB / 0.5914 GB, free: 13.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.001776/1.108, allocations: 0.6203 MB / 0.592 GB, free: 13.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/1.108, allocations: 81.05 kB / 0.592 GB, free: 13.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/1.109, allocations: 186.1 kB / 0.5922 GB, free: 12.85 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/1.109, allocations: 25.7 kB / 0.5922 GB, free: 12.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/1.109, allocations: 284.5 kB / 0.5925 GB, free: 12.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/1.11, allocations: 253.7 kB / 0.5927 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.11, allocations: 98 kB / 0.5928 GB, free: 12.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002554/1.11, allocations: 334.8 kB / 0.5932 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/1.11, allocations: 125.3 kB / 0.5933 GB, free: 11.72 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/1.111, allocations: 293.3 kB / 0.5936 GB, free: 11.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/1.111, allocations: 473.5 kB / 0.594 GB, free: 10.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/1.111, allocations: 0 / 0.594 GB, free: 10.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009293/1.112, allocations: 484.1 kB / 0.5945 GB, free: 10.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.112, allocations: 8 kB / 0.5945 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.112, allocations: 8.625 kB / 0.5945 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/1.112, allocations: 15.88 kB / 0.5945 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/1.113, allocations: 71.89 kB / 0.5946 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.113, allocations: 11.94 kB / 0.5946 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/1.113, allocations: 55.52 kB / 0.5946 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/1.113, allocations: 23.98 kB / 0.5947 GB, free: 10.17 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.0002659/1.113, allocations: 185.7 kB / 0.5948 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/1.113, allocations: 31.81 kB / 0.5949 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.417e-05/1.113, allocations: 33.91 kB / 0.5949 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.113, allocations: 0 / 0.5949 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.113, allocations: 7.984 kB / 0.5949 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.113, allocations: 4 kB / 0.5949 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/1.114, allocations: 332.4 kB / 0.5952 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.114, allocations: 3.984 kB / 0.5952 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/1.114, allocations: 35.92 kB / 0.5953 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.114, allocations: 4 kB / 0.5953 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/1.114, allocations: 4 kB / 0.5953 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/1.114, allocations: 3.938 kB / 0.5953 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.114, allocations: 0 / 0.5953 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/1.115, allocations: 0.5371 MB / 0.5958 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/1.115, allocations: 39.62 kB / 0.5958 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/1.115, allocations: 0 / 0.5958 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/1.115, allocations: 16.3 kB / 0.5959 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/1.115, allocations: 27.91 kB / 0.5959 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/1.115, allocations: 11.98 kB / 0.5959 GB, free: 8.848 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000102/1.116, allocations: 121 kB / 0.596 GB, free: 8.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.116, allocations: 3.938 kB / 0.596 GB, free: 8.727 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007075/1.116, allocations: 203.5 kB / 0.5962 GB, free: 8.527 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.0006994/1.117, allocations: 304.7 kB / 0.5965 GB, free: 8.215 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/1.118, allocations: 0.5586 MB / 0.597 GB, free: 7.641 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.118, allocations: 0 / 0.597 GB, free: 7.641 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006001/1.119, allocations: 476.6 kB / 0.5975 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.12, allocations: 191.9 kB / 0.5977 GB, free: 6.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/1.122, allocations: 1.065 MB / 0.5987 GB, free: 5.836 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/1.122, allocations: 357.6 kB / 0.5991 GB, free: 5.461 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005849/1.123, allocations: 265.9 kB / 0.5993 GB, free: 5.191 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/1.123, allocations: 44.5 kB / 0.5994 GB, free: 5.148 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/1.123, allocations: 0 / 0.5994 GB, free: 5.148 MB / 478.1 MB Notification: Performance of Templates: time 0.02247/1.145, allocations: 11.16 MB / 0.6103 GB, free: 10 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.667853515944444] Failed to read output from testmodel.py, exit status != 0: 1.1539671689970419 1.169780848 0.074640519 Calling exit ...