Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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.001495/0.001495, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001804/0.001804, allocations: 222 kB / 23 MB, free: 4.918 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.01275/0.01275, allocations: 2.814 MB / 316 MB, free: 116 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.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") [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.002139/0.002139, allocations: 67.89 kB / 439.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1142, allocations: 54.18 MB / 494.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01155/0.1258, allocations: 7.572 MB / 0.4899 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008871/0.1267, allocations: 0.8135 MB / 0.4907 GB, free: 14.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.1267, allocations: 0 / 0.4907 GB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.1269, allocations: 59.64 kB / 0.4907 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.874e-05/0.127, allocations: 27.77 kB / 0.4907 GB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.1273, allocations: 123.1 kB / 0.4909 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.173e-05/0.1274, allocations: 47.67 kB / 0.4909 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.1275, allocations: 8 kB / 0.4909 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.1275, allocations: 15.94 kB / 0.4909 GB, free: 13.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.1276, allocations: 19.86 kB / 0.491 GB, free: 13.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1276, allocations: 7.938 kB / 0.491 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1162/0.2438, allocations: 13.72 MB / 0.5044 GB, free: 1.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.2438, allocations: 3.938 kB / 0.5044 GB, free: 1.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.767e-05/0.2439, allocations: 15.94 kB / 0.5044 GB, free: 1.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.2444, allocations: 95.58 kB / 0.5045 GB, free: 1.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2444, allocations: 0 / 0.5045 GB, free: 1.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2444, allocations: 0 / 0.5045 GB, free: 1.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2444, allocations: 4 kB / 0.5045 GB, free: 1.277 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005276/0.2449, allocations: 290 kB / 0.5048 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.245, allocations: 8.031 kB / 0.5048 GB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.2451, allocations: 20.88 kB / 0.5048 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2453, allocations: 110.5 kB / 0.5049 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2453, allocations: 8.297 kB / 0.5049 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.2453, allocations: 7.938 kB / 0.5049 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.2455, allocations: 65.69 kB / 0.505 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2455, allocations: 0 / 0.505 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2455, allocations: 4 kB / 0.505 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2455, allocations: 4 kB / 0.505 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.2456, allocations: 31.98 kB / 0.505 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.2461, allocations: 257.2 kB / 0.5052 GB, free: 408 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.129e-05/0.2462, allocations: 42.56 kB / 0.5053 GB, free: 356 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.2462, allocations: 16.86 kB / 0.5053 GB, free: 336 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.2462, allocations: 4 kB / 0.5053 GB, free: 332 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.2463, allocations: 30.56 kB / 0.5053 GB, free: 292 kB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.2463, allocations: 0 / 0.5053 GB, free: 292 kB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002945/0.2466, allocations: 125.8 kB / 0.5055 GB, free: 160 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.2466, allocations: 51.41 kB / 0.5055 GB, free: 96 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.241/0.4876, allocations: 93.86 kB / 0.5056 GB, free: 26.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.4877, allocations: 25.7 kB / 0.5056 GB, free: 26.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.4877, allocations: 80.14 kB / 0.5057 GB, free: 26.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.4878, allocations: 59.2 kB / 0.5058 GB, free: 26.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.4878, allocations: 22.97 kB / 0.5058 GB, free: 26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.4879, allocations: 325.1 kB / 0.5061 GB, free: 25.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.4879, allocations: 14.12 kB / 0.5061 GB, free: 25.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.488, allocations: 21.62 kB / 0.5061 GB, free: 25.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.4881, allocations: 58.72 kB / 0.5062 GB, free: 25.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4881, allocations: 0 / 0.5062 GB, free: 25.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001444/0.4882, allocations: 80.91 kB / 0.5063 GB, free: 25.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4882, allocations: 10.23 kB / 0.5063 GB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4882, allocations: 0 / 0.5063 GB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4883, allocations: 0 / 0.5063 GB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.4883, allocations: 3.859 kB / 0.5063 GB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4884, allocations: 5.781 kB / 0.5063 GB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.4884, allocations: 8.312 kB / 0.5063 GB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4884, allocations: 6.188 kB / 0.5063 GB, free: 25.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.205e-05/0.4885, allocations: 112.8 kB / 0.5064 GB, free: 25.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.4885, allocations: 3.562 kB / 0.5064 GB, free: 25.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.4885, allocations: 7.812 kB / 0.5064 GB, free: 25.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4885, allocations: 8.391 kB / 0.5064 GB, free: 25.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4885, allocations: 0 / 0.5064 GB, free: 25.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4885, allocations: 0 / 0.5064 GB, free: 25.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.4887, allocations: 128.1 kB / 0.5065 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4887, allocations: 1.219 kB / 0.5065 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.4887, allocations: 5.344 kB / 0.5065 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4887, allocations: 2.188 kB / 0.5065 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4887, allocations: 0.75 kB / 0.5065 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4887, allocations: 0 / 0.5065 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4887, allocations: 3.938 kB / 0.5065 GB, free: 25.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.4889, allocations: 188.3 kB / 0.5067 GB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.4889, allocations: 11.45 kB / 0.5067 GB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.4889, allocations: 1.891 kB / 0.5067 GB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.4889, allocations: 1.094 kB / 0.5067 GB, free: 25.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.489, allocations: 7.812 kB / 0.5067 GB, free: 25.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.489, allocations: 3.969 kB / 0.5067 GB, free: 25.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.476e-05/0.489, allocations: 75.88 kB / 0.5068 GB, free: 25.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.489, allocations: 9.656 kB / 0.5068 GB, free: 25.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.4893, allocations: 16.78 kB / 0.5068 GB, free: 25.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003097/0.4896, allocations: 140.7 kB / 0.507 GB, free: 25.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4898, allocations: 101.7 kB / 0.5071 GB, free: 25.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4898, allocations: 1.406 kB / 0.5071 GB, free: 25.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.4899, allocations: 83.2 kB / 0.5072 GB, free: 25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.4911, allocations: 41.05 kB / 0.5072 GB, free: 25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.4916, allocations: 302.7 kB / 0.5075 GB, free: 24.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.4918, allocations: 112.5 kB / 0.5076 GB, free: 24.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.4918, allocations: 15.5 kB / 0.5076 GB, free: 24.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4918, allocations: 0 / 0.5076 GB, free: 24.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004402/0.4962, allocations: 1.688 MB / 0.5093 GB, free: 24.58 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.227708840277046] Failed to read output from testmodel.py, exit status != 0: 0.5040943450294435 0.51866461 0.27134190099999994 Calling exit ...