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.001355/0.001355, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001598/0.001598, allocations: 219.3 kB / 23.01 MB, free: 4.609 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.01289/0.01289, allocations: 2.791 MB / 316 MB, free: 376 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.002026/0.002026, allocations: 75.89 kB / 439.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09406, allocations: 54.17 MB / 494.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01113/0.1052, allocations: 8.265 MB / 0.4906 GB, free: 14.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.1062, allocations: 0.938 MB / 0.4915 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.1062, allocations: 4 kB / 0.4915 GB, free: 13.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1065, allocations: 79.56 kB / 0.4916 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.1065, allocations: 19.78 kB / 0.4916 GB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.1069, allocations: 119.2 kB / 0.4917 GB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.107, allocations: 59.55 kB / 0.4918 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.1071, allocations: 0 / 0.4918 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.1071, allocations: 19.94 kB / 0.4918 GB, free: 13.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.1072, allocations: 27.84 kB / 0.4918 GB, free: 13.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.1072, allocations: 0 / 0.4918 GB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1217/0.2288, allocations: 13.73 MB / 0.5052 GB, free: 0.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.2288, allocations: 0 / 0.5052 GB, free: 0.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.2289, allocations: 35.8 kB / 0.5053 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.2292, allocations: 79.72 kB / 0.5054 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2292, allocations: 3.938 kB / 0.5054 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2292, allocations: 0 / 0.5054 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.2293, allocations: 0 / 0.5054 GB, free: 0.8008 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.0004109/0.2297, allocations: 286.1 kB / 0.5056 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2297, allocations: 12.03 kB / 0.5056 GB, free: 492 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.2298, allocations: 16.88 kB / 0.5057 GB, free: 476 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.69e-05/0.2299, allocations: 114.5 kB / 0.5058 GB, free: 336 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2299, allocations: 4.375 kB / 0.5058 GB, free: 332 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.2299, allocations: 7.938 kB / 0.5058 GB, free: 324 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.2301, allocations: 69.62 kB / 0.5059 GB, free: 248 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2301, allocations: 0 / 0.5059 GB, free: 248 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2301, allocations: 0 / 0.5059 GB, free: 248 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2301, allocations: 0 / 0.5059 GB, free: 248 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/0.2302, allocations: 43.98 kB / 0.5059 GB, free: 204 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1864/0.4166, allocations: 284.6 kB / 0.5062 GB, free: 26.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.86e-05/0.4166, allocations: 37.22 kB / 0.5062 GB, free: 26.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.4167, allocations: 25.41 kB / 0.5062 GB, free: 26.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.4167, allocations: 2.625 kB / 0.5062 GB, free: 26.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4167, allocations: 30.56 kB / 0.5063 GB, free: 26.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.454e-06/0.4167, allocations: 2.062 kB / 0.5063 GB, free: 26.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002301/0.417, allocations: 114.5 kB / 0.5064 GB, free: 26.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.417, allocations: 55.7 kB / 0.5064 GB, free: 26.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.079e-05/0.417, allocations: 93.17 kB / 0.5065 GB, free: 26.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.373e-06/0.417, allocations: 28.83 kB / 0.5065 GB, free: 26.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/0.417, allocations: 89.45 kB / 0.5066 GB, free: 26.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.4171, allocations: 61.39 kB / 0.5067 GB, free: 25.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.4171, allocations: 19.78 kB / 0.5067 GB, free: 25.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.154e-05/0.4172, allocations: 316.5 kB / 0.507 GB, free: 25.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/0.4172, allocations: 19.44 kB / 0.507 GB, free: 25.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.4172, allocations: 18.27 kB / 0.507 GB, free: 25.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.364e-05/0.4173, allocations: 56.3 kB / 0.5071 GB, free: 25.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4173, allocations: 3.469 kB / 0.5071 GB, free: 25.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001072/0.4174, allocations: 87.09 kB / 0.5072 GB, free: 25.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4174, allocations: 10.19 kB / 0.5072 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4174, allocations: 0 / 0.5072 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4174, allocations: 1.125 kB / 0.5072 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.4175, allocations: 3.094 kB / 0.5072 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4175, allocations: 0 / 0.5072 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.4175, allocations: 4.188 kB / 0.5072 GB, free: 25.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.4175, allocations: 5.953 kB / 0.5072 GB, free: 25.61 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 5.394e-05/0.4176, allocations: 111.7 kB / 0.5073 GB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.4176, allocations: 12.23 kB / 0.5073 GB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.4176, allocations: 11.33 kB / 0.5073 GB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4176, allocations: 0.5625 kB / 0.5073 GB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4176, allocations: 0.8438 kB / 0.5073 GB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4177, allocations: 0 / 0.5073 GB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.4178, allocations: 157.6 kB / 0.5075 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4178, allocations: 0.625 kB / 0.5075 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.4178, allocations: 3.406 kB / 0.5075 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4178, allocations: 4.812 kB / 0.5075 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.4178, allocations: 1.938 kB / 0.5075 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4178, allocations: 1.359 kB / 0.5075 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4178, allocations: 1.125 kB / 0.5075 GB, free: 25.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.418, allocations: 192.7 kB / 0.5077 GB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.418, allocations: 12.09 kB / 0.5077 GB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.418, allocations: 5.344 kB / 0.5077 GB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.418, allocations: 0 / 0.5077 GB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.418, allocations: 5.625 kB / 0.5077 GB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.4181, allocations: 2.281 kB / 0.5077 GB, free: 25.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.017e-05/0.4181, allocations: 75.28 kB / 0.5078 GB, free: 25.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4181, allocations: 3.469 kB / 0.5078 GB, free: 25.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.4183, allocations: 24.61 kB / 0.5078 GB, free: 25.11 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.0002564/0.4186, allocations: 136.5 kB / 0.5079 GB, free: 25.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.4188, allocations: 106.2 kB / 0.508 GB, free: 24.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4188, allocations: 0 / 0.508 GB, free: 24.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/0.4188, allocations: 79.55 kB / 0.5081 GB, free: 24.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/0.4197, allocations: 38.53 kB / 0.5081 GB, free: 24.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.4201, allocations: 306.8 kB / 0.5084 GB, free: 24.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.4203, allocations: 0.7163 MB / 0.5091 GB, free: 24.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.4203, allocations: 15.62 kB / 0.5092 GB, free: 24.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4203, allocations: 3.5 kB / 0.5092 GB, free: 24.03 MB / 366.1 MB Notification: Performance of Templates: time 0.003683/0.424, allocations: 1.642 MB / 0.5108 GB, free: 23.88 MB / 366.1 MB " [Timeout remaining time 660] 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.234805745072663] Failed to read output from testmodel.py, exit status != 0: 0.4308678659144789 0.443494407 0.211575951 Calling exit ...