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.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.001464/0.001464, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00168/0.00168, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.965 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.01307/0.01307, allocations: 2.801 MB / 315.2 MB, free: 280 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.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: 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.002055/0.002055, allocations: 71.91 kB / 439.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09978, allocations: 54.17 MB / 493.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.02208/0.1219, allocations: 19.4 MB / 0.5008 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2072/0.3291, allocations: 6.081 MB / 0.5067 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.3294, allocations: 1.281 kB / 0.5067 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008856/0.3303, allocations: 258.8 kB / 0.5069 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.3343, allocations: 1.205 MB / 0.5081 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.3346, allocations: 88.81 kB / 0.5082 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004699/0.3351, allocations: 304.3 kB / 0.5085 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.092e-05/0.3351, allocations: 16.39 kB / 0.5085 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3352, allocations: 94 kB / 0.5086 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3354, allocations: 117 kB / 0.5087 GB, free: 4.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3354, allocations: 6.875 kB / 0.5087 GB, free: 4.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6014/0.9368, allocations: 39.16 MB / 0.547 GB, free: 396 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.9369, allocations: 45.72 kB / 0.547 GB, free: 364 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.9373, allocations: 122.6 kB / 0.5471 GB, free: 260 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.94, allocations: 0.5102 MB / 0.5476 GB, free: 15.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.521e-05/0.94, allocations: 3.984 kB / 0.5476 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.94, allocations: 0 / 0.5476 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.94, allocations: 8 kB / 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.0008065/0.9408, allocations: 0.4947 MB / 0.5481 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.9408, allocations: 8.031 kB / 0.5481 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/0.9417, allocations: 203.6 kB / 0.5483 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.9418, allocations: 137.7 kB / 0.5484 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.9418, allocations: 16.06 kB / 0.5485 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.9419, allocations: 23.12 kB / 0.5485 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.9424, allocations: 355.2 kB / 0.5488 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.9424, allocations: 0 / 0.5488 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.9424, allocations: 5.312 kB / 0.5488 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.9425, allocations: 19.48 kB / 0.5488 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.9428, allocations: 275.2 kB / 0.5491 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.9449, allocations: 2.08 MB / 0.5511 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.945, allocations: 96.97 kB / 0.5512 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.9451, allocations: 82 kB / 0.5513 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/0.9458, allocations: 0.5147 MB / 0.5518 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.9458, allocations: 36.25 kB / 0.5519 GB, free: 11.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.362e-06/0.9458, allocations: 0 / 0.5519 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003872/0.9462, allocations: 183.9 kB / 0.552 GB, free: 11.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.9462, allocations: 85.17 kB / 0.5521 GB, free: 11.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.9463, allocations: 105.1 kB / 0.5522 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.9463, allocations: 25.7 kB / 0.5522 GB, free: 11.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.9464, allocations: 156 kB / 0.5524 GB, free: 11.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.9465, allocations: 112.5 kB / 0.5525 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.9466, allocations: 40.53 kB / 0.5525 GB, free: 11.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.9467, allocations: 325.8 kB / 0.5528 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.9468, allocations: 37.25 kB / 0.5529 GB, free: 10.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.9469, allocations: 80.88 kB / 0.553 GB, free: 10.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.9471, allocations: 147.4 kB / 0.5531 GB, free: 10.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.9471, allocations: 4 kB / 0.5531 GB, free: 10.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002401/0.9473, allocations: 151.2 kB / 0.5532 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.9473, allocations: 8 kB / 0.5532 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9473, allocations: 3.938 kB / 0.5533 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.9473, allocations: 0 / 0.5533 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.9474, allocations: 12 kB / 0.5533 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.9474, allocations: 3.984 kB / 0.5533 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.9475, allocations: 23.97 kB / 0.5533 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.9475, allocations: 4 kB / 0.5533 GB, free: 10.36 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.0001249/0.9476, allocations: 135 kB / 0.5534 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.9477, allocations: 7.953 kB / 0.5534 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.449e-05/0.9477, allocations: 10.97 kB / 0.5534 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.9477, allocations: 0 / 0.5534 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.9477, allocations: 4 kB / 0.5534 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.9477, allocations: 0 / 0.5534 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.9481, allocations: 255.7 kB / 0.5537 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9481, allocations: 4.188 kB / 0.5537 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.9481, allocations: 4 kB / 0.5537 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.9481, allocations: 0 / 0.5537 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.9481, allocations: 7.969 kB / 0.5537 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.9481, allocations: 4 kB / 0.5537 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9481, allocations: 0 / 0.5537 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.9498, allocations: 310.6 kB / 0.554 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.9498, allocations: 23.78 kB / 0.554 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.9498, allocations: 4 kB / 0.554 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.95, allocations: 0 / 0.554 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.95, allocations: 7.984 kB / 0.554 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.95, allocations: 0 / 0.554 GB, free: 9.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.938e-05/0.95, allocations: 83.28 kB / 0.5541 GB, free: 9.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.95, allocations: 0 / 0.5541 GB, free: 9.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.9505, allocations: 91.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.0003953/0.9509, allocations: 197.1 kB / 0.5544 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.9513, allocations: 213.1 kB / 0.5546 GB, free: 8.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9513, allocations: 0 / 0.5546 GB, free: 8.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.9514, allocations: 177.3 kB / 0.5548 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.9521, allocations: 88.05 kB / 0.5548 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.953, allocations: 0.5225 MB / 0.5554 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.9534, allocations: 0.7956 MB / 0.5561 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.9535, allocations: 29.12 kB / 0.5562 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.9536, allocations: 23.44 kB / 0.5562 GB, free: 7.293 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.9536, allocations: 0 / 0.5562 GB, free: 7.293 MB / 398.1 MB Notification: Performance of Templates: time 0.01226/0.9658, allocations: 5.233 MB / 0.5613 GB, free: 2.117 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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.799514591926709] Failed to read output from testmodel.py, exit status != 0: 0.9737402449827641 0.9917182 0.048304692 Calling exit ...