Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.001289/0.001289, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001412/0.001412, allocations: 212.3 kB / 23.03 MB, free: 4.426 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.01257/0.01257, allocations: 2.804 MB / 316 MB, free: 88 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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical",fmuType="cs",version="2.0",platforms={"static"}) [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.001967/0.001967, allocations: 63.91 kB / 439.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09606, allocations: 54.17 MB / 493.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02242/0.1185, allocations: 17.33 MB / 0.499 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005973/0.1245, allocations: 5.27 MB / 0.5041 GB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.1247, allocations: 0 / 0.5041 GB, free: 344 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.1256, allocations: 210.7 kB / 0.5043 GB, free: 132 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2141/0.3396, allocations: 1.166 MB / 0.5054 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.34, allocations: 83.67 kB / 0.5055 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.3405, allocations: 307.5 kB / 0.5058 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.998e-05/0.3405, allocations: 12.45 kB / 0.5058 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3407, allocations: 99.92 kB / 0.5059 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.3409, allocations: 113.3 kB / 0.506 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.3409, allocations: 8.094 kB / 0.506 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3405/0.6814, allocations: 38.67 MB / 0.5438 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.788e-05/0.6815, allocations: 32.52 kB / 0.5438 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.6818, allocations: 110.2 kB / 0.5439 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.6838, allocations: 0.5069 MB / 0.5444 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.6838, allocations: 0 / 0.5444 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6838, allocations: 4 kB / 0.5444 GB, free: 1.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.6839, allocations: 4 kB / 0.5444 GB, free: 1.699 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.0007639/0.6846, allocations: 0.4924 MB / 0.5449 GB, free: 1.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.6847, allocations: 12.03 kB / 0.5449 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.321e-05/0.6847, allocations: 7.5 kB / 0.5449 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.527e-05/0.6848, allocations: 68.09 kB / 0.545 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008024/0.6856, allocations: 206 kB / 0.5452 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.6857, allocations: 131.4 kB / 0.5453 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.6857, allocations: 21.98 kB / 0.5453 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.6858, allocations: 29.12 kB / 0.5454 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.6863, allocations: 340.2 kB / 0.5457 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6863, allocations: 4 kB / 0.5457 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.6863, allocations: 10.81 kB / 0.5457 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.6863, allocations: 14.58 kB / 0.5457 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.6867, allocations: 276.5 kB / 0.546 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.688, allocations: 0.8471 MB / 0.5468 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.6882, allocations: 94.72 kB / 0.5469 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.6883, allocations: 85.77 kB / 0.547 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/0.6889, allocations: 0.5047 MB / 0.5475 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.6889, allocations: 34.56 kB / 0.5475 GB, free: 15.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.6889, allocations: 0 / 0.5475 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003778/0.6893, allocations: 189.1 kB / 0.5477 GB, free: 15.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.6894, allocations: 80.95 kB / 0.5478 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.6895, allocations: 113.2 kB / 0.5479 GB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.6895, allocations: 29.77 kB / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.6896, allocations: 158 kB / 0.5481 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.6897, allocations: 107.2 kB / 0.5482 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.6897, allocations: 40.53 kB / 0.5482 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6899, allocations: 326.3 kB / 0.5485 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.6899, allocations: 33.62 kB / 0.5485 GB, free: 14.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.69, allocations: 80.61 kB / 0.5486 GB, free: 14.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.6902, allocations: 142.2 kB / 0.5488 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6902, allocations: 0 / 0.5488 GB, free: 14.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000247/0.6904, allocations: 160.1 kB / 0.5489 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6905, allocations: 4 kB / 0.5489 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6905, allocations: 3.938 kB / 0.5489 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6905, allocations: 4 kB / 0.5489 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.6906, allocations: 11.62 kB / 0.5489 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.6906, allocations: 6.625 kB / 0.5489 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.6906, allocations: 22.73 kB / 0.549 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.6907, allocations: 12.12 kB / 0.549 GB, free: 14.04 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.0001366/0.6908, allocations: 129 kB / 0.5491 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.6908, allocations: 7.953 kB / 0.5491 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.6909, allocations: 12.22 kB / 0.5491 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.6909, allocations: 0 / 0.5491 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6909, allocations: 0 / 0.5491 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6909, allocations: 0 / 0.5491 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.6912, allocations: 252.8 kB / 0.5494 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6912, allocations: 0 / 0.5494 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.6913, allocations: 4 kB / 0.5494 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.6913, allocations: 4 kB / 0.5494 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.6913, allocations: 4 kB / 0.5494 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.6913, allocations: 2.016 kB / 0.5494 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6913, allocations: 0 / 0.5494 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.6928, allocations: 311.9 kB / 0.5497 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.6928, allocations: 22.33 kB / 0.5497 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.6928, allocations: 0 / 0.5497 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.6929, allocations: 0 / 0.5497 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.693, allocations: 7.125 kB / 0.5497 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.693, allocations: 10.69 kB / 0.5497 GB, free: 13.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.693, allocations: 79.28 kB / 0.5498 GB, free: 13.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.693, allocations: 4 kB / 0.5498 GB, free: 13.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000443/0.6935, allocations: 90.78 kB / 0.5499 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.0008908/0.6943, allocations: 0.9367 MB / 0.5508 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.6947, allocations: 217.7 kB / 0.551 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6947, allocations: 4 kB / 0.551 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.6948, allocations: 175.8 kB / 0.5512 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.6955, allocations: 87.22 kB / 0.5512 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.6966, allocations: 0.592 MB / 0.5518 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.6968, allocations: 191 kB / 0.552 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.6969, allocations: 33.11 kB / 0.552 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.697, allocations: 115 kB / 0.5521 GB, free: 11.03 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.697, allocations: 4 kB / 0.5522 GB, free: 11.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.7286, allocations: 8.824 MB / 0.5608 GB, free: 2.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.34, allocations: 6.469 kB / 0.5608 GB, free: 2.312 MB / 398.1 MB " [Timeout remaining time 647] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesSupercritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.429159799939953] Failed to read output from testmodel.py, exit status != 0: 12.72444209002424 12.742560586 12.055132993 Calling exit ...