Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 190.9 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.01245/0.01245, allocations: 2.802 MB / 308.9 MB, free: 5.961 MB / 238.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.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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 71.88 kB / 430.5 MB, free: 20.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1059, allocations: 52.96 MB / 483.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02208/0.128, allocations: 19.31 MB / 0.4909 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006176/0.1341, allocations: 6.103 MB / 0.4969 GB, free: 6.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.1344, allocations: 0 / 0.4969 GB, free: 6.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.1351, allocations: 246.5 kB / 0.4971 GB, free: 5.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.1387, allocations: 1.214 MB / 0.4983 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1391, allocations: 87.36 kB / 0.4984 GB, free: 4.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005462/0.1396, allocations: 309.8 kB / 0.4987 GB, free: 4.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.991e-05/0.1397, allocations: 12.69 kB / 0.4987 GB, free: 4.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1398, allocations: 95.48 kB / 0.4988 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.14, allocations: 111.5 kB / 0.4989 GB, free: 3.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.14, allocations: 8 kB / 0.4989 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8905/1.031, allocations: 39.11 MB / 0.5371 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/1.031, allocations: 31.05 kB / 0.5371 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/1.031, allocations: 142.5 kB / 0.5373 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/1.033, allocations: 0.5052 MB / 0.5378 GB, free: 12.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.033, allocations: 0 / 0.5378 GB, free: 12.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/1.033, allocations: 0 / 0.5378 GB, free: 12.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/1.033, allocations: 3.938 kB / 0.5378 GB, free: 12.06 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007749/1.034, allocations: 0.5725 MB / 0.5383 GB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.034, allocations: 12.03 kB / 0.5383 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007826/1.034, allocations: 197.5 kB / 0.5385 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/1.035, allocations: 192.9 kB / 0.5387 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/1.035, allocations: 21.19 kB / 0.5387 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/1.035, allocations: 27.81 kB / 0.5388 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/1.035, allocations: 339.7 kB / 0.5391 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.035, allocations: 0 / 0.5391 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/1.035, allocations: 10.88 kB / 0.5391 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/1.035, allocations: 11.03 kB / 0.5391 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/1.035, allocations: 261 kB / 0.5394 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/1.037, allocations: 2.123 MB / 0.5414 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/1.038, allocations: 106.1 kB / 0.5415 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/1.038, allocations: 71.53 kB / 0.5416 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007361/1.038, allocations: 0.6959 MB / 0.5423 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/1.038, allocations: 37.56 kB / 0.5423 GB, free: 7.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/1.038, allocations: 0 / 0.5423 GB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003833/1.039, allocations: 185.1 kB / 0.5425 GB, free: 7.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/1.039, allocations: 77.11 kB / 0.5426 GB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.039, allocations: 109.6 kB / 0.5427 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.039, allocations: 25.7 kB / 0.5427 GB, free: 7.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/1.039, allocations: 164 kB / 0.5429 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.463e-05/1.039, allocations: 106.2 kB / 0.543 GB, free: 7.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/1.039, allocations: 41.33 kB / 0.543 GB, free: 7.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/1.039, allocations: 330.5 kB / 0.5433 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/1.039, allocations: 31.23 kB / 0.5433 GB, free: 6.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/1.04, allocations: 82.95 kB / 0.5434 GB, free: 6.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/1.04, allocations: 146.2 kB / 0.5436 GB, free: 6.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.04, allocations: 0 / 0.5436 GB, free: 6.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002441/1.04, allocations: 163.4 kB / 0.5437 GB, free: 6.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.04, allocations: 7.906 kB / 0.5437 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.04, allocations: 0 / 0.5437 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/1.04, allocations: 12.19 kB / 0.5437 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/1.04, allocations: 11.98 kB / 0.5437 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/1.04, allocations: 4 kB / 0.5437 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/1.04, allocations: 19.78 kB / 0.5438 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/1.04, allocations: 7.125 kB / 0.5438 GB, free: 6.477 MB / 382.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.0001379/1.04, allocations: 128.6 kB / 0.5439 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/1.04, allocations: 7.953 kB / 0.5439 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/1.04, allocations: 14.12 kB / 0.5439 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.04, allocations: 0 / 0.5439 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.04, allocations: 7.938 kB / 0.5439 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.04, allocations: 3.984 kB / 0.5439 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/1.041, allocations: 281.2 kB / 0.5442 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.041, allocations: 0 / 0.5442 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/1.041, allocations: 7.984 kB / 0.5442 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.041, allocations: 0 / 0.5442 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/1.041, allocations: 4 kB / 0.5442 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.041, allocations: 0 / 0.5442 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.041, allocations: 0 / 0.5442 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.043, allocations: 321.8 kB / 0.5445 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.625e-05/1.043, allocations: 92.95 kB / 0.5446 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/1.043, allocations: 0 / 0.5446 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/1.044, allocations: 0 / 0.5446 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/1.044, allocations: 7.984 kB / 0.5446 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/1.044, allocations: 7.75 kB / 0.5446 GB, free: 5.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.285e-05/1.044, allocations: 79.52 kB / 0.5447 GB, free: 5.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/1.044, allocations: 0 / 0.5447 GB, free: 5.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005075/1.044, allocations: 95.47 kB / 0.5448 GB, free: 5.461 MB / 382.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.0004729/1.045, allocations: 182.2 kB / 0.545 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003455/1.045, allocations: 205.6 kB / 0.5452 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.045, allocations: 0 / 0.5452 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/1.045, allocations: 183.7 kB / 0.5453 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/1.047, allocations: 95.48 kB / 0.5454 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009485/1.048, allocations: 0.5097 MB / 0.5459 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/1.049, allocations: 0.8026 MB / 0.5467 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/1.049, allocations: 25.19 kB / 0.5467 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/1.049, allocations: 27.44 kB / 0.5468 GB, free: 3.5 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/1.049, allocations: 3.938 kB / 0.5468 GB, free: 3.496 MB / 382.1 MB Notification: Performance of Templates: time 0.01178/1.061, allocations: 5.017 MB / 0.5517 GB, free: 14.56 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.817611395847052] Failed to read output from testmodel.py, exit status != 0: 1.0690369009971619 1.086814638 0.050353956000000005 Calling exit ...