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.001527/0.001527, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001769/0.001769, allocations: 206.7 kB / 22.24 MB, free: 5.262 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.773 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.02074/0.02074, allocations: 2.8 MB / 315.2 MB, free: 76 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.002142/0.002142, allocations: 63.91 kB / 439.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1244, allocations: 54.18 MB / 493.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01054/0.1349, allocations: 7.569 MB / 0.4891 GB, free: 14.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.1358, allocations: 0.8096 MB / 0.4899 GB, free: 14.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.1359, allocations: 0 / 0.4899 GB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1361, allocations: 63.64 kB / 0.49 GB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.1362, allocations: 27.77 kB / 0.49 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1365, allocations: 115.2 kB / 0.4901 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.1366, allocations: 59.55 kB / 0.4902 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.1367, allocations: 0 / 0.4902 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.1367, allocations: 15.94 kB / 0.4902 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.1368, allocations: 27.92 kB / 0.4902 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1368, allocations: 0 / 0.4902 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1131/0.2499, allocations: 13.73 MB / 0.5036 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.2499, allocations: 3.938 kB / 0.5036 GB, free: 1.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.25, allocations: 27.81 kB / 0.5037 GB, free: 1.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.2503, allocations: 91.64 kB / 0.5037 GB, free: 1.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2503, allocations: 4 kB / 0.5037 GB, free: 1.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2503, allocations: 0 / 0.5037 GB, free: 1.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.2504, allocations: 0 / 0.5037 GB, free: 1.188 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.0004607/0.2508, allocations: 282.1 kB / 0.504 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2509, allocations: 12.03 kB / 0.504 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.251, allocations: 20.86 kB / 0.504 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.482e-05/0.2511, allocations: 110.5 kB / 0.5042 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2511, allocations: 384 / 0.5042 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2511, allocations: 7.938 kB / 0.5042 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.2513, allocations: 69.62 kB / 0.5042 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2513, allocations: 4 kB / 0.5042 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2513, allocations: 0 / 0.5042 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.2513, allocations: 3.984 kB / 0.5042 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.079e-05/0.2514, allocations: 36 kB / 0.5043 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.2518, allocations: 257.2 kB / 0.5045 GB, free: 320 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.392e-05/0.2519, allocations: 34.52 kB / 0.5045 GB, free: 276 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.2519, allocations: 24.86 kB / 0.5046 GB, free: 248 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.252, allocations: 4.031 kB / 0.5046 GB, free: 244 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.252, allocations: 34.5 kB / 0.5046 GB, free: 200 kB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.252, allocations: 0 / 0.5046 GB, free: 200 kB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002513/0.2523, allocations: 117.9 kB / 0.5047 GB, free: 76 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2523, allocations: 55.41 kB / 0.5048 GB, free: 8 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3031/0.5554, allocations: 89.86 kB / 0.5049 GB, free: 26.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.5554, allocations: 28.98 kB / 0.5049 GB, free: 26.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.5554, allocations: 81.25 kB / 0.505 GB, free: 25.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.435e-05/0.5555, allocations: 57.94 kB / 0.505 GB, free: 25.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.5556, allocations: 22.3 kB / 0.505 GB, free: 25.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.5557, allocations: 323 kB / 0.5053 GB, free: 25.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.5557, allocations: 18.52 kB / 0.5054 GB, free: 25.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.5558, allocations: 20.72 kB / 0.5054 GB, free: 25.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.5559, allocations: 53.14 kB / 0.5054 GB, free: 25.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5559, allocations: 3.094 kB / 0.5054 GB, free: 25.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001831/0.5561, allocations: 89.62 kB / 0.5055 GB, free: 25.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5561, allocations: 8.031 kB / 0.5055 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5561, allocations: 0 / 0.5055 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.5561, allocations: 3.391 kB / 0.5055 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.5562, allocations: 2.781 kB / 0.5055 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5562, allocations: 2.406 kB / 0.5055 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.5563, allocations: 7.547 kB / 0.5055 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.5563, allocations: 6.469 kB / 0.5056 GB, free: 25.55 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 8.956e-05/0.5564, allocations: 112.5 kB / 0.5057 GB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.5564, allocations: 1.438 kB / 0.5057 GB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.5564, allocations: 8.688 kB / 0.5057 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.5565, allocations: 7.344 kB / 0.5057 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5565, allocations: 1.859 kB / 0.5057 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5565, allocations: 0 / 0.5057 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.5567, allocations: 125.3 kB / 0.5058 GB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5567, allocations: 3.531 kB / 0.5058 GB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.5567, allocations: 3.156 kB / 0.5058 GB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5567, allocations: 1 kB / 0.5058 GB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.5567, allocations: 5.281 kB / 0.5058 GB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5567, allocations: 0 / 0.5058 GB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5567, allocations: 3.938 kB / 0.5058 GB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.5569, allocations: 191.6 kB / 0.506 GB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.557, allocations: 6.484 kB / 0.506 GB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.557, allocations: 8.219 kB / 0.506 GB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.557, allocations: 0 / 0.506 GB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.5571, allocations: 5.859 kB / 0.506 GB, free: 25.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.5571, allocations: 6.594 kB / 0.506 GB, free: 25.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.054e-05/0.5571, allocations: 75.28 kB / 0.5061 GB, free: 25.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.5571, allocations: 1.312 kB / 0.5061 GB, free: 25.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.5574, allocations: 17.92 kB / 0.5061 GB, free: 25.08 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.0004051/0.5578, allocations: 137.5 kB / 0.5062 GB, free: 24.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.5581, allocations: 103 kB / 0.5063 GB, free: 24.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5581, allocations: 0 / 0.5063 GB, free: 24.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.5582, allocations: 83.33 kB / 0.5064 GB, free: 24.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.5598, allocations: 42.44 kB / 0.5065 GB, free: 24.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.5604, allocations: 263.4 kB / 0.5067 GB, free: 24.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.5606, allocations: 111.6 kB / 0.5068 GB, free: 24.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.5607, allocations: 10.36 kB / 0.5068 GB, free: 24.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.5607, allocations: 19.09 kB / 0.5068 GB, free: 24.65 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5607, allocations: 0 / 0.5068 GB, free: 24.65 MB / 366.1 MB Notification: Performance of Templates: time 0.008386/0.5691, allocations: 2.286 MB / 0.5091 GB, free: 24.4 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: 5.796302828937769] Failed to read output from testmodel.py, exit status != 0: 0.5795714501291513 0.599854193 0.345793395 Calling exit ...