Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.001791/0.001791, 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.002271/0.002271, allocations: 220.7 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.605/1.605, 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.01435/0.01435, allocations: 2.801 MB / 316 MB, free: 108 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [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.002081/0.002081, allocations: 71.89 kB / 439.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1346, allocations: 54.18 MB / 494.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02488/0.1595, allocations: 17.34 MB / 0.4994 GB, free: 5.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2808/0.4404, allocations: 5.264 MB / 0.5046 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.4407, allocations: 2.719 kB / 0.5046 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.4413, allocations: 205.1 kB / 0.5048 GB, free: 4.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.4447, allocations: 1.17 MB / 0.5059 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.445, allocations: 95.84 kB / 0.506 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.4454, allocations: 303.7 kB / 0.5063 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.4455, allocations: 13.38 kB / 0.5063 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.4456, allocations: 100 kB / 0.5064 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.4458, allocations: 106.4 kB / 0.5065 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.4458, allocations: 7.844 kB / 0.5065 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.333/0.7787, allocations: 38.67 MB / 0.5443 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.7788, allocations: 26.52 kB / 0.5443 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.7792, allocations: 107.2 kB / 0.5444 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.7816, allocations: 0.5132 MB / 0.5449 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7816, allocations: 3.938 kB / 0.5449 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7816, allocations: 0 / 0.5449 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.7816, allocations: 0 / 0.5449 GB, free: 1.59 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007375/0.7824, allocations: 0.4975 MB / 0.5454 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7824, allocations: 12.03 kB / 0.5454 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008033/0.7832, allocations: 201.9 kB / 0.5456 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7833, allocations: 131.9 kB / 0.5457 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.7834, allocations: 21.81 kB / 0.5457 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.7834, allocations: 18.69 kB / 0.5458 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.7839, allocations: 347.8 kB / 0.5461 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.7839, allocations: 0 / 0.5461 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.7839, allocations: 13.88 kB / 0.5461 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.7839, allocations: 14.8 kB / 0.5461 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.7843, allocations: 276.3 kB / 0.5464 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.7855, allocations: 0.7898 MB / 0.5472 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.7856, allocations: 91.75 kB / 0.5472 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.7857, allocations: 83.75 kB / 0.5473 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006059/0.7863, allocations: 0.5054 MB / 0.5478 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.7864, allocations: 30.56 kB / 0.5479 GB, free: 15.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.372e-06/0.7864, allocations: 0 / 0.5479 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.000376/0.7867, allocations: 189.1 kB / 0.548 GB, free: 15.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.7868, allocations: 83.53 kB / 0.5481 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.7869, allocations: 112.7 kB / 0.5482 GB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.7869, allocations: 28.33 kB / 0.5482 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.7871, allocations: 161.2 kB / 0.5484 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.7871, allocations: 105.2 kB / 0.5485 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.7872, allocations: 40.38 kB / 0.5485 GB, free: 14.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.7874, allocations: 332.7 kB / 0.5489 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.7874, allocations: 26.75 kB / 0.5489 GB, free: 14.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.7875, allocations: 84.12 kB / 0.549 GB, free: 14.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.7877, allocations: 135.3 kB / 0.5491 GB, free: 14.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7877, allocations: 0 / 0.5491 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002351/0.7879, allocations: 160.8 kB / 0.5492 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.788, allocations: 8 kB / 0.5493 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.788, allocations: 0 / 0.5493 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.788, allocations: 4 kB / 0.5493 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.7881, allocations: 10.62 kB / 0.5493 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7881, allocations: 0 / 0.5493 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.7881, allocations: 19.78 kB / 0.5493 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.7882, allocations: 11.98 kB / 0.5493 GB, free: 14.02 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.0001364/0.7883, allocations: 133.6 kB / 0.5494 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.7883, allocations: 13.66 kB / 0.5494 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.7884, allocations: 11.56 kB / 0.5494 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7884, allocations: 4 kB / 0.5495 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7884, allocations: 0 / 0.5495 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.7884, allocations: 4.188 kB / 0.5495 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.7887, allocations: 197 kB / 0.5496 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.7887, allocations: 7.969 kB / 0.5496 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.7887, allocations: 4 kB / 0.5497 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.7887, allocations: 0 / 0.5497 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.7887, allocations: 0 / 0.5497 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7887, allocations: 4 kB / 0.5497 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7887, allocations: 0 / 0.5497 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.7904, allocations: 319.1 kB / 0.55 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.7904, allocations: 16.77 kB / 0.55 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.7904, allocations: 0 / 0.55 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.7906, allocations: 5.984 kB / 0.55 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.7906, allocations: 4 kB / 0.55 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.7906, allocations: 4 kB / 0.55 GB, free: 13.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.426e-05/0.7907, allocations: 81.66 kB / 0.5501 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7907, allocations: 0 / 0.5501 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004303/0.7911, allocations: 83.09 kB / 0.5501 GB, free: 13.2 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.0004608/0.7915, allocations: 194.8 kB / 0.5503 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.7919, allocations: 211.1 kB / 0.5505 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7919, allocations: 0 / 0.5505 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.7921, allocations: 180.6 kB / 0.5507 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009368/0.793, allocations: 95.09 kB / 0.5508 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009179/0.7939, allocations: 0.5602 MB / 0.5513 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.7941, allocations: 194.3 kB / 0.5515 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.7942, allocations: 23.44 kB / 0.5516 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.7942, allocations: 0 / 0.5516 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Templates: time 0.007147/0.8013, allocations: 3.881 MB / 0.5553 GB, free: 7.992 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.790949727874249] Failed to read output from testmodel.py, exit status != 0: 0.8094688239507377 0.82889122 0.041519639000000004 Calling exit ...