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.001354/0.001354, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001549/0.001549, allocations: 217.7 kB / 22.26 MB, free: 5.113 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.219 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.01334/0.01334, allocations: 2.799 MB / 315.2 MB, free: 340 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.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",fmuType="me",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.002002/0.002002, allocations: 67.89 kB / 438.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1013, allocations: 54.17 MB / 492.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01033/0.1117, allocations: 8.268 MB / 0.4894 GB, free: 15.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000927/0.1126, allocations: 0.9418 MB / 0.4903 GB, free: 14.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.1126, allocations: 0 / 0.4903 GB, free: 14.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.1129, allocations: 79.58 kB / 0.4904 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.1129, allocations: 27.77 kB / 0.4904 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1132, allocations: 115.2 kB / 0.4905 GB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.829e-05/0.1133, allocations: 59.55 kB / 0.4906 GB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.1134, allocations: 0 / 0.4906 GB, free: 13.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.1134, allocations: 19.94 kB / 0.4906 GB, free: 13.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.1135, allocations: 23.88 kB / 0.4906 GB, free: 13.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.1135, allocations: 0 / 0.4906 GB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1178/0.2313, allocations: 13.72 MB / 0.504 GB, free: 1.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.2313, allocations: 4 kB / 0.504 GB, free: 1.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.2314, allocations: 23.81 kB / 0.504 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.2318, allocations: 95.64 kB / 0.5041 GB, free: 1.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2318, allocations: 3.938 kB / 0.5041 GB, free: 1.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2318, allocations: 0 / 0.5041 GB, free: 1.215 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.2318, allocations: 0 / 0.5041 GB, free: 1.215 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.0004564/0.2323, allocations: 286.1 kB / 0.5044 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.2323, allocations: 12.03 kB / 0.5044 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.2324, allocations: 34.75 kB / 0.5045 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.2325, allocations: 24.86 kB / 0.5045 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.183e-05/0.2326, allocations: 106.5 kB / 0.5046 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2326, allocations: 12.12 kB / 0.5046 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2326, allocations: 7.984 kB / 0.5046 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2328, allocations: 69.62 kB / 0.5047 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2328, allocations: 0 / 0.5047 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2328, allocations: 4 kB / 0.5047 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.2328, allocations: 3.984 kB / 0.5047 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.435e-05/0.2329, allocations: 31.98 kB / 0.5047 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.2333, allocations: 284.6 kB / 0.505 GB, free: 252 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.2334, allocations: 42.52 kB / 0.505 GB, free: 200 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.2334, allocations: 20.86 kB / 0.505 GB, free: 176 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2335, allocations: 4.031 kB / 0.505 GB, free: 172 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2335, allocations: 34.56 kB / 0.5051 GB, free: 128 kB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.2335, allocations: 0 / 0.5051 GB, free: 128 kB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002374/0.2337, allocations: 113.9 kB / 0.5052 GB, free: 8 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1871/0.4208, allocations: 53.09 kB / 0.5052 GB, free: 26.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.099e-05/0.4208, allocations: 95.55 kB / 0.5053 GB, free: 26.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4208, allocations: 25.7 kB / 0.5053 GB, free: 26.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.058e-05/0.4208, allocations: 82.36 kB / 0.5054 GB, free: 26.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.4209, allocations: 60.44 kB / 0.5055 GB, free: 26.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.421, allocations: 20.52 kB / 0.5055 GB, free: 26.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.421, allocations: 323.3 kB / 0.5058 GB, free: 25.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.4211, allocations: 15.86 kB / 0.5058 GB, free: 25.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.4211, allocations: 23.59 kB / 0.5059 GB, free: 25.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.4212, allocations: 54.97 kB / 0.5059 GB, free: 25.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4212, allocations: 1.5 kB / 0.5059 GB, free: 25.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001349/0.4213, allocations: 88.33 kB / 0.506 GB, free: 25.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4213, allocations: 5.5 kB / 0.506 GB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4214, allocations: 0.8438 kB / 0.506 GB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4214, allocations: 6.625 kB / 0.506 GB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.4214, allocations: 3.797 kB / 0.506 GB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4214, allocations: 5.531 kB / 0.506 GB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.4215, allocations: 7.75 kB / 0.506 GB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.4215, allocations: 4.094 kB / 0.506 GB, free: 25.77 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 6.143e-05/0.4215, allocations: 109.9 kB / 0.5061 GB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.4216, allocations: 5.25 kB / 0.5061 GB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.4216, allocations: 8.625 kB / 0.5061 GB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4216, allocations: 7.219 kB / 0.5061 GB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4216, allocations: 0 / 0.5061 GB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4216, allocations: 1.969 kB / 0.5061 GB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.4218, allocations: 154.3 kB / 0.5063 GB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4218, allocations: 2.625 kB / 0.5063 GB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.4218, allocations: 3.531 kB / 0.5063 GB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4218, allocations: 0 / 0.5063 GB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.4218, allocations: 2.359 kB / 0.5063 GB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4218, allocations: 5.281 kB / 0.5063 GB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4218, allocations: 3.562 kB / 0.5063 GB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.422, allocations: 186 kB / 0.5065 GB, free: 25.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.422, allocations: 9.828 kB / 0.5065 GB, free: 25.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.422, allocations: 3.938 kB / 0.5065 GB, free: 25.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.4221, allocations: 8.484 kB / 0.5065 GB, free: 25.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.4221, allocations: 2.188 kB / 0.5065 GB, free: 25.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4221, allocations: 2.562 kB / 0.5065 GB, free: 25.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.287e-05/0.4221, allocations: 76 kB / 0.5066 GB, free: 25.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 4e-08/0.4221, allocations: 0 / 0.5066 GB, free: 25.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.4223, allocations: 20.95 kB / 0.5066 GB, free: 25.27 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.0005218/0.4229, allocations: 0.7537 MB / 0.5073 GB, free: 24.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.4231, allocations: 106.6 kB / 0.5074 GB, free: 24.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4231, allocations: 0.9062 kB / 0.5074 GB, free: 24.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.4232, allocations: 86.8 kB / 0.5075 GB, free: 24.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.4236, allocations: 40.2 kB / 0.5076 GB, free: 24.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.4242, allocations: 312 kB / 0.5079 GB, free: 24.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.4244, allocations: 0.7172 MB / 0.5086 GB, free: 23.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.325e-05/0.4245, allocations: 16.42 kB / 0.5086 GB, free: 23.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.4245, allocations: 42.09 kB / 0.5086 GB, free: 23.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4245, allocations: 0 / 0.5086 GB, free: 23.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.4556, allocations: 4.427 MB / 0.5129 GB, free: 22.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.68, allocations: 4.281 kB / 0.5129 GB, free: 22.93 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.259520812891424] Failed to read output from testmodel.py, exit status != 0: 12.013557816157117 12.036930443 11.800138455999999 Calling exit ...