Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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.001274/0.001274, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001364/0.001364, allocations: 159.1 kB / 23.01 MB, free: 4.602 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.902 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.0116/0.0116, allocations: 1.988 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") [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.002084/0.002084, allocations: 67.89 kB / 385.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1078, allocations: 54.14 MB / 439.8 MB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02028/0.128, allocations: 17.34 MB / 457.2 MB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005634/0.1337, allocations: 5.271 MB / 462.4 MB, free: 5.465 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.1339, allocations: 0 / 462.4 MB, free: 5.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.1346, allocations: 210.7 kB / 462.6 MB, free: 5.258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.138, allocations: 1.175 MB / 463.8 MB, free: 4.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1383, allocations: 83.38 kB / 463.9 MB, free: 3.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000412/0.1387, allocations: 305.8 kB / 464.2 MB, free: 3.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.219e-05/0.1388, allocations: 16.94 kB / 464.2 MB, free: 3.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1389, allocations: 95.55 kB / 464.3 MB, free: 3.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.1391, allocations: 111.4 kB / 464.4 MB, free: 3.469 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1391, allocations: 8 kB / 464.4 MB, free: 3.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8703/1.009, allocations: 39.15 MB / 0.4918 GB, free: 63.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/1.009, allocations: 34.3 kB / 0.4918 GB, free: 63.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/1.01, allocations: 107.7 kB / 0.4919 GB, free: 63.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/1.012, allocations: 0.5103 MB / 0.4924 GB, free: 63.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.012, allocations: 0 / 0.4924 GB, free: 63.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.136e-06/1.012, allocations: 0.9375 kB / 0.4924 GB, free: 63.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/1.012, allocations: 0 / 0.4924 GB, free: 63.68 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007594/1.013, allocations: 0.4963 MB / 0.4929 GB, free: 63.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/1.013, allocations: 9.062 kB / 0.4929 GB, free: 63.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/1.014, allocations: 208.1 kB / 0.4931 GB, free: 63.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/1.014, allocations: 141.2 kB / 0.4932 GB, free: 63.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/1.014, allocations: 18.59 kB / 0.4932 GB, free: 63.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/1.014, allocations: 23.41 kB / 0.4933 GB, free: 63.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/1.015, allocations: 344 kB / 0.4936 GB, free: 63.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/1.015, allocations: 0 / 0.4936 GB, free: 63.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/1.015, allocations: 9.812 kB / 0.4936 GB, free: 63.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/1.015, allocations: 13.53 kB / 0.4936 GB, free: 63.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/1.016, allocations: 267.1 kB / 0.4939 GB, free: 63.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/1.017, allocations: 0.7924 MB / 0.4946 GB, free: 62.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/1.018, allocations: 99.95 kB / 0.4947 GB, free: 62.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/1.018, allocations: 76.03 kB / 0.4948 GB, free: 62.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007678/1.019, allocations: 0.5016 MB / 0.4953 GB, free: 62.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/1.019, allocations: 36.3 kB / 0.4953 GB, free: 62.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/1.019, allocations: 4 kB / 0.4953 GB, free: 62.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006039/1.019, allocations: 185 kB / 0.4955 GB, free: 62.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/1.019, allocations: 81.27 kB / 0.4956 GB, free: 62.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/1.02, allocations: 105.6 kB / 0.4957 GB, free: 61.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/1.02, allocations: 27.11 kB / 0.4957 GB, free: 61.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/1.02, allocations: 160.6 kB / 0.4959 GB, free: 61.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.229e-05/1.02, allocations: 109.4 kB / 0.496 GB, free: 61.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/1.02, allocations: 37.84 kB / 0.496 GB, free: 61.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/1.02, allocations: 328.5 kB / 0.4963 GB, free: 61.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/1.02, allocations: 35.08 kB / 0.4964 GB, free: 61.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/1.02, allocations: 85.59 kB / 0.4964 GB, free: 61.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/1.021, allocations: 139.4 kB / 0.4966 GB, free: 61.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.021, allocations: 3.562 kB / 0.4966 GB, free: 61.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003192/1.021, allocations: 155.8 kB / 0.4967 GB, free: 61.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/1.021, allocations: 13.16 kB / 0.4967 GB, free: 61.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.021, allocations: 2.469 kB / 0.4967 GB, free: 61.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.138e-05/1.021, allocations: 8.969 kB / 0.4967 GB, free: 61.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.021, allocations: 9.188 kB / 0.4968 GB, free: 61.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1.021, allocations: 6.219 kB / 0.4968 GB, free: 61.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/1.021, allocations: 16.5 kB / 0.4968 GB, free: 61.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/1.021, allocations: 11.33 kB / 0.4968 GB, free: 61.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000137/1.021, allocations: 128.8 kB / 0.4969 GB, free: 61.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/1.021, allocations: 12.28 kB / 0.4969 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/1.021, allocations: 11.25 kB / 0.4969 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.021, allocations: 1.531 kB / 0.4969 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.021, allocations: 0 / 0.4969 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.021, allocations: 4.906 kB / 0.4969 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/1.022, allocations: 194.3 kB / 0.4971 GB, free: 60.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.022, allocations: 1.094 kB / 0.4971 GB, free: 60.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/1.022, allocations: 2.562 kB / 0.4971 GB, free: 60.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.022, allocations: 1.094 kB / 0.4971 GB, free: 60.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/1.022, allocations: 5.625 kB / 0.4971 GB, free: 60.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.022, allocations: 4 kB / 0.4971 GB, free: 60.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.022, allocations: 1.062 kB / 0.4971 GB, free: 60.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/1.024, allocations: 317.9 kB / 0.4974 GB, free: 60.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/1.024, allocations: 16.64 kB / 0.4975 GB, free: 60.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/1.024, allocations: 5.094 kB / 0.4975 GB, free: 60.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/1.024, allocations: 0 / 0.4975 GB, free: 60.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/1.024, allocations: 7.484 kB / 0.4975 GB, free: 60.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/1.024, allocations: 2.5 kB / 0.4975 GB, free: 60.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.215e-05/1.024, allocations: 85.73 kB / 0.4976 GB, free: 60.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/1.024, allocations: 0 / 0.4976 GB, free: 60.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005736/1.025, allocations: 88.47 kB / 0.4976 GB, free: 60.63 MB / 446.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: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006649/1.025, allocations: 193.2 kB / 0.4978 GB, free: 60.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004864/1.026, allocations: 200.6 kB / 0.498 GB, free: 60.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.026, allocations: 0 / 0.498 GB, free: 60.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/1.026, allocations: 190.6 kB / 0.4982 GB, free: 60.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/1.027, allocations: 85.97 kB / 0.4983 GB, free: 60.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/1.028, allocations: 0.5294 MB / 0.4988 GB, free: 60 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/1.028, allocations: 191.2 kB / 0.499 GB, free: 59.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/1.028, allocations: 26.84 kB / 0.499 GB, free: 59.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/1.028, allocations: 23.84 kB / 0.499 GB, free: 59.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/1.028, allocations: 0 / 0.499 GB, free: 59.9 MB / 446.1 MB Notification: Performance of Templates: time 0.01348/1.042, allocations: 4.658 MB / 0.5036 GB, free: 59.14 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.62335804302711] Failed to read output from testmodel.py, exit status != 0: 1.0509200640954077 1.066535058 0.051369109 Calling exit ...