Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.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.001367/0.001367, 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.001528/0.001528, allocations: 221.1 kB / 23 MB, free: 4.914 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.01284/0.01284, allocations: 2.812 MB / 316 MB, free: 104 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.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") translateModel(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") [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.002102/0.002102, allocations: 71.89 kB / 439.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1247, allocations: 54.17 MB / 494.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02255/0.1473, allocations: 17.17 MB / 0.4992 GB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003488/0.1507, allocations: 3.04 MB / 0.5022 GB, free: 2.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1509, allocations: 4 kB / 0.5022 GB, free: 2.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008249/0.1517, allocations: 234.5 kB / 0.5024 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.1518, allocations: 91.23 kB / 0.5025 GB, free: 1.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1535, allocations: 0.574 MB / 0.5031 GB, free: 1.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.1538, allocations: 186.6 kB / 0.5033 GB, free: 1.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.1539, allocations: 12.58 kB / 0.5033 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.1539, allocations: 55.8 kB / 0.5033 GB, free: 1.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.154, allocations: 59.61 kB / 0.5034 GB, free: 1.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1541, allocations: 4 kB / 0.5034 GB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5908/0.7449, allocations: 42.37 MB / 0.5448 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.7449, allocations: 11.88 kB / 0.5448 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.7451, allocations: 68.98 kB / 0.5448 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.7465, allocations: 375.1 kB / 0.5452 GB, free: 2.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7465, allocations: 0 / 0.5452 GB, free: 2.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7465, allocations: 4 kB / 0.5452 GB, free: 2.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.7465, allocations: 4 kB / 0.5452 GB, free: 2.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007394/0.7472, allocations: 412.6 kB / 0.5456 GB, free: 2.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.7473, allocations: 9.531 kB / 0.5456 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.7474, allocations: 35.77 kB / 0.5456 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.7476, allocations: 124.6 kB / 0.5458 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.7476, allocations: 8.312 kB / 0.5458 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7476, allocations: 7.75 kB / 0.5458 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.748, allocations: 252.6 kB / 0.546 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.748, allocations: 0 / 0.546 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.748, allocations: 0 / 0.546 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.748, allocations: 18.25 kB / 0.546 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.7483, allocations: 283.2 kB / 0.5463 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.7492, allocations: 0.5468 MB / 0.5468 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.7494, allocations: 198.8 kB / 0.547 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.7496, allocations: 183.9 kB / 0.5472 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.7497, allocations: 19.88 kB / 0.5472 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.7497, allocations: 38.5 kB / 0.5473 GB, free: 1.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.513e-06/0.7497, allocations: 0 / 0.5473 GB, free: 1.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.003987/0.7537, allocations: 0.7052 MB / 0.548 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.7537, allocations: 55.41 kB / 0.548 GB, free: 0.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.7539, allocations: 112.5 kB / 0.5481 GB, free: 480 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.7539, allocations: 25.7 kB / 0.5481 GB, free: 448 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.7539, allocations: 88.47 kB / 0.5482 GB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.7541, allocations: 215.8 kB / 0.5484 GB, free: 184 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.7542, allocations: 48.27 kB / 0.5485 GB, free: 148 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.7544, allocations: 334.1 kB / 0.5488 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.7545, allocations: 180.1 kB / 0.549 GB, free: 15.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.7547, allocations: 227.9 kB / 0.5492 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.7552, allocations: 443.5 kB / 0.5496 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7552, allocations: 0 / 0.5496 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005155/0.7557, allocations: 481.2 kB / 0.5501 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7557, allocations: 7.984 kB / 0.5501 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.7557, allocations: 4 kB / 0.5501 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.7557, allocations: 4.125 kB / 0.5501 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.7558, allocations: 12 kB / 0.5501 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.7558, allocations: 3.938 kB / 0.5501 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.701e-05/0.7559, allocations: 23.73 kB / 0.5501 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.7559, allocations: 8.094 kB / 0.5501 GB, free: 14.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (state_tbl.phase,state_spl.phase,state_std.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000118/0.756, allocations: 125.3 kB / 0.5502 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.7561, allocations: 27.83 kB / 0.5503 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/0.7566, allocations: 452.4 kB / 0.5507 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.7566, allocations: 11.98 kB / 0.5507 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7566, allocations: 3.938 kB / 0.5507 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7567, allocations: 0 / 0.5507 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.757, allocations: 269.5 kB / 0.551 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.757, allocations: 0 / 0.551 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.757, allocations: 14.98 kB / 0.551 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.757, allocations: 8 kB / 0.551 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.7571, allocations: 0 / 0.551 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7571, allocations: 0 / 0.551 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7571, allocations: 0 / 0.551 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.7577, allocations: 0.5665 MB / 0.5515 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.7577, allocations: 23.78 kB / 0.5516 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.7577, allocations: 3.938 kB / 0.5516 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.7578, allocations: 0 / 0.5516 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.7578, allocations: 7.984 kB / 0.5516 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.7579, allocations: 14.56 kB / 0.5516 GB, free: 13.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.7579, allocations: 75.28 kB / 0.5517 GB, free: 13.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7579, allocations: 4 kB / 0.5517 GB, free: 13.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.7583, allocations: 103.8 kB / 0.5518 GB, free: 13.39 MB / 398.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: 3 (state_std.phase,state_spl.phase,state_tbl.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0008518/0.7592, allocations: 367.2 kB / 0.5521 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005936/0.7598, allocations: 451.7 kB / 0.5526 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7598, allocations: 0 / 0.5526 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.7601, allocations: 252.3 kB / 0.5528 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008033/0.7609, allocations: 136.2 kB / 0.5529 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/0.7618, allocations: 0.6219 MB / 0.5535 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.762, allocations: 160.8 kB / 0.5537 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.762, allocations: 19.44 kB / 0.5537 GB, free: 11.41 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.762, allocations: 0 / 0.5537 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Templates: time 0.009408/0.7714, allocations: 4.515 MB / 0.5581 GB, free: 6.902 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.044272284954786] Failed to read output from testmodel.py, exit status != 0: 0.7796769998967648 0.797245506 0.047528387000000005 Calling exit ...