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.002068/0.002068, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002573/0.002573, allocations: 217.7 kB / 22.26 MB, free: 5.113 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 8.223 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.01295/0.01295, allocations: 2.794 MB / 315.2 MB, free: 356 kB / 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.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.002375/0.002375, allocations: 67.91 kB / 439.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.103, allocations: 54.18 MB / 493.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02404/0.127, allocations: 19.39 MB / 0.5008 GB, free: 3.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2027/0.3298, allocations: 6.082 MB / 0.5067 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.33, allocations: 2.469 kB / 0.5067 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.3306, allocations: 262.8 kB / 0.5069 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.3336, allocations: 1.202 MB / 0.5081 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.3338, allocations: 90.41 kB / 0.5082 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.3342, allocations: 308.7 kB / 0.5085 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.3342, allocations: 12.31 kB / 0.5085 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.3344, allocations: 99.19 kB / 0.5086 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3345, allocations: 111.9 kB / 0.5087 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3345, allocations: 8.594 kB / 0.5087 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5958/0.9303, allocations: 39.17 MB / 0.547 GB, free: 384 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.9304, allocations: 30.28 kB / 0.547 GB, free: 364 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.9308, allocations: 127.1 kB / 0.5471 GB, free: 260 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.9337, allocations: 0.5131 MB / 0.5476 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9337, allocations: 4 kB / 0.5476 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.9337, allocations: 0 / 0.5476 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.9337, allocations: 0 / 0.5476 GB, free: 15.88 MB / 398.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.0007339/0.9345, allocations: 0.4951 MB / 0.5481 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.9345, allocations: 12.03 kB / 0.5481 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.9353, allocations: 210.3 kB / 0.5483 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.9354, allocations: 130.2 kB / 0.5485 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.9355, allocations: 16.12 kB / 0.5485 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.9355, allocations: 22.12 kB / 0.5485 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.936, allocations: 348.2 kB / 0.5488 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.936, allocations: 0 / 0.5488 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.9361, allocations: 7 kB / 0.5488 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.9361, allocations: 17.3 kB / 0.5488 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.9364, allocations: 281.2 kB / 0.5491 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.9384, allocations: 2.087 MB / 0.5511 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.9385, allocations: 93.36 kB / 0.5512 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.9387, allocations: 84.08 kB / 0.5513 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006338/0.9393, allocations: 0.5178 MB / 0.5518 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.9393, allocations: 30.56 kB / 0.5519 GB, free: 11.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.333e-06/0.9393, allocations: 0 / 0.5519 GB, free: 11.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.000409/0.9397, allocations: 181.9 kB / 0.552 GB, free: 11.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.9398, allocations: 84.73 kB / 0.5521 GB, free: 11.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.9399, allocations: 105.2 kB / 0.5522 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.9399, allocations: 29.77 kB / 0.5522 GB, free: 11.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.94, allocations: 164 kB / 0.5524 GB, free: 11.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/0.9401, allocations: 109.8 kB / 0.5525 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.9402, allocations: 38.72 kB / 0.5525 GB, free: 11.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9403, allocations: 332.4 kB / 0.5529 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.9404, allocations: 34.48 kB / 0.5529 GB, free: 10.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.9405, allocations: 80.77 kB / 0.553 GB, free: 10.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.9407, allocations: 140.8 kB / 0.5531 GB, free: 10.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9407, allocations: 0 / 0.5531 GB, free: 10.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002543/0.9409, allocations: 153.1 kB / 0.5532 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.941, allocations: 8 kB / 0.5532 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.941, allocations: 80 / 0.5532 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.941, allocations: 4 kB / 0.5533 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.9411, allocations: 15.92 kB / 0.5533 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.9411, allocations: 7.922 kB / 0.5533 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.9411, allocations: 21.84 kB / 0.5533 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.9412, allocations: 8 kB / 0.5533 GB, free: 10.35 MB / 398.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.0001276/0.9413, allocations: 133.4 kB / 0.5534 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.9413, allocations: 7.953 kB / 0.5534 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.9414, allocations: 7.906 kB / 0.5534 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.9414, allocations: 4 kB / 0.5534 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9414, allocations: 3.984 kB / 0.5535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.9414, allocations: 0 / 0.5535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.9418, allocations: 251.1 kB / 0.5537 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.9418, allocations: 3.984 kB / 0.5537 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.9418, allocations: 4 kB / 0.5537 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.9418, allocations: 0 / 0.5537 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.9418, allocations: 0 / 0.5537 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.9418, allocations: 11.94 kB / 0.5537 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9418, allocations: 0 / 0.5537 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.9436, allocations: 310.7 kB / 0.554 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.9437, allocations: 15.84 kB / 0.554 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.9437, allocations: 0 / 0.554 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.9438, allocations: 3.984 kB / 0.554 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.9438, allocations: 12 kB / 0.554 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.9438, allocations: 8 kB / 0.554 GB, free: 9.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.482e-05/0.9439, allocations: 75.52 kB / 0.5541 GB, free: 9.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9439, allocations: 0 / 0.5541 GB, free: 9.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.9443, allocations: 99.59 kB / 0.5542 GB, free: 9.391 MB / 398.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.0004605/0.9448, allocations: 191.3 kB / 0.5544 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.9451, allocations: 209.4 kB / 0.5546 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9451, allocations: 0 / 0.5546 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.9453, allocations: 181.4 kB / 0.5548 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.946, allocations: 83.66 kB / 0.5548 GB, free: 8.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.9469, allocations: 0.5266 MB / 0.5554 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.948, allocations: 0.7956 MB / 0.5561 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.9481, allocations: 29.12 kB / 0.5562 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.9482, allocations: 23.44 kB / 0.5562 GB, free: 7.297 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.9482, allocations: 0 / 0.5562 GB, free: 7.297 MB / 398.1 MB Notification: Performance of Templates: time 0.01225/0.9604, allocations: 5.225 MB / 0.5613 GB, free: 2.129 MB / 398.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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.870427079033107] Failed to read output from testmodel.py, exit status != 0: 0.968699662014842 0.986802639 0.049651939000000006 Calling exit ...