Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.001772/0.001772, allocations: 79.73 kB / 19.76 MB, free: 2.02 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.001434/0.001434, allocations: 160.6 kB / 23 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.01182/0.01182, allocations: 2.004 MB / 261.8 MB, free: 14.65 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") [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.002051/0.002051, allocations: 63.89 kB / 385.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1043, allocations: 54.14 MB / 439.8 MB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.2736/0.3779, allocations: 45.39 MB / 485.2 MB, free: 49.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.3943, allocations: 25.15 MB / 0.4984 GB, free: 47.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004898/0.3948, allocations: 2.906 kB / 0.4984 GB, free: 47.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.396, allocations: 0.4969 MB / 0.4989 GB, free: 47.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.4009, allocations: 2.191 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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.006979/0.4079, allocations: 2.886 MB / 0.5038 GB, free: 44.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.4089, allocations: 0.9358 MB / 0.5047 GB, free: 44.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.409, allocations: 28.77 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.4414/0.8504, allocations: 51.36 MB / 0.5549 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007961/0.8512, allocations: 285 kB / 0.5552 GB, free: 16.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.8513, allocations: 40 kB / 0.5552 GB, free: 16.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2216/1.073, allocations: 27.05 MB / 0.5817 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002794/1.073, allocations: 110.8 kB / 0.5818 GB, free: 6.848 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005948/1.074, allocations: 277 kB / 0.582 GB, free: 6.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00637/1.08, allocations: 1.86 MB / 0.5838 GB, free: 5.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.08, allocations: 4 kB / 0.5838 GB, free: 5.043 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/1.08, allocations: 0 / 0.5838 GB, free: 5.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/1.08, 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.001633/1.082, allocations: 1.046 MB / 0.5849 GB, free: 4.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.082, allocations: 8.031 kB / 0.5849 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/1.084, allocations: 0.498 MB / 0.5854 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/1.086, allocations: 281.7 kB / 0.5856 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.095e-05/1.086, allocations: 46.06 kB / 0.5857 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/1.086, allocations: 52 kB / 0.5857 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/1.087, allocations: 0.9967 MB / 0.5867 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.087, allocations: 0 / 0.5867 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/1.088, allocations: 24 kB / 0.5867 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/1.088, allocations: 36.11 kB / 0.5867 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/1.089, allocations: 0.7115 MB / 0.5874 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/1.093, allocations: 2.677 MB / 0.5901 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/1.094, allocations: 269 kB / 0.5903 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/1.094, allocations: 155.2 kB / 0.5905 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/1.096, allocations: 0.8684 MB / 0.5913 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/1.096, allocations: 38.56 kB / 0.5913 GB, free: 13.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 1.773e-06/1.096, allocations: 4 kB / 0.5914 GB, free: 13.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.001599/1.097, allocations: 0.6043 MB / 0.5919 GB, free: 13.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/1.097, allocations: 81.09 kB / 0.592 GB, free: 13.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/1.098, allocations: 198.8 kB / 0.5922 GB, free: 12.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/1.098, allocations: 29.7 kB / 0.5922 GB, free: 12.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/1.098, allocations: 292.4 kB / 0.5925 GB, free: 12.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/1.098, allocations: 233.9 kB / 0.5927 GB, free: 12.28 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/1.098, allocations: 97.95 kB / 0.5928 GB, free: 12.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/1.098, allocations: 342.8 kB / 0.5932 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/1.099, allocations: 125.3 kB / 0.5933 GB, free: 11.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/1.099, allocations: 299.9 kB / 0.5936 GB, free: 11.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/1.1, allocations: 488.8 kB / 0.594 GB, free: 10.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.1, allocations: 4 kB / 0.594 GB, free: 10.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009046/1.101, allocations: 476.3 kB / 0.5945 GB, free: 10.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.101, allocations: 8 kB / 0.5945 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.101, allocations: 8 kB / 0.5945 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.101, allocations: 11.94 kB / 0.5945 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/1.101, allocations: 76.52 kB / 0.5946 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/1.101, allocations: 12 kB / 0.5946 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/1.101, allocations: 59.47 kB / 0.5947 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/1.101, allocations: 23.98 kB / 0.5947 GB, free: 10.11 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * 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.000294/1.102, allocations: 201.6 kB / 0.5949 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/1.102, allocations: 27.81 kB / 0.5949 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/1.102, allocations: 26.66 kB / 0.5949 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/1.102, allocations: 3.938 kB / 0.5949 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.102, allocations: 0 / 0.5949 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/1.102, allocations: 7.984 kB / 0.5949 GB, free: 9.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/1.102, allocations: 343.6 kB / 0.5953 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.102, allocations: 4 kB / 0.5953 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/1.102, allocations: 27.98 kB / 0.5953 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.102, allocations: 0 / 0.5953 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/1.103, allocations: 7.984 kB / 0.5953 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.103, allocations: 3.938 kB / 0.5953 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.103, allocations: 7.938 kB / 0.5953 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/1.103, allocations: 0.5064 MB / 0.5958 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/1.103, allocations: 39.67 kB / 0.5958 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/1.103, allocations: 3.938 kB / 0.5958 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/1.103, allocations: 12 kB / 0.5959 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/1.104, allocations: 19.91 kB / 0.5959 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/1.104, allocations: 8 kB / 0.5959 GB, free: 8.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001157/1.104, allocations: 119.2 kB / 0.596 GB, free: 8.703 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.104, allocations: 0 / 0.596 GB, free: 8.703 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007468/1.104, allocations: 195.5 kB / 0.5962 GB, free: 8.512 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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * 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.0006505/1.105, allocations: 308.7 kB / 0.5965 GB, free: 8.199 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00091/1.106, allocations: 0.5496 MB / 0.597 GB, free: 7.629 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.106, allocations: 0 / 0.597 GB, free: 7.629 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/1.107, allocations: 464 kB / 0.5975 GB, free: 7.117 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.108, allocations: 191.5 kB / 0.5976 GB, free: 6.934 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/1.11, allocations: 1.048 MB / 0.5987 GB, free: 5.852 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/1.11, allocations: 360.7 kB / 0.599 GB, free: 5.469 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005529/1.111, allocations: 257.8 kB / 0.5993 GB, free: 5.219 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/1.111, allocations: 48.5 kB / 0.5993 GB, free: 5.172 MB / 478.1 MB Notification: Performance of SimCode: time 6.62e-07/1.111, allocations: 0 / 0.5993 GB, free: 5.172 MB / 478.1 MB Notification: Performance of Templates: time 0.02285/1.134, allocations: 10.69 MB / 0.6097 GB, free: 10.5 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.453360899002291] Failed to read output from testmodel.py, exit status != 0: 1.1419591419398785 1.158495696 0.07487943700000001 Calling exit ...