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.001238/0.001238, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001396/0.001396, allocations: 221.1 kB / 23.05 MB, free: 5.074 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8 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.0128/0.0128, allocations: 2.804 MB / 316 MB, free: 300 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",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.002883/0.002883, allocations: 67.91 kB / 439.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.1019, allocations: 54.18 MB / 493.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01084/0.1127, allocations: 8.261 MB / 0.4902 GB, free: 15.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009711/0.1137, allocations: 0.9419 MB / 0.4911 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.1137, allocations: 0 / 0.4911 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.114, allocations: 75.58 kB / 0.4911 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/0.114, allocations: 23.8 kB / 0.4912 GB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.1144, allocations: 119.1 kB / 0.4913 GB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.1145, allocations: 51.62 kB / 0.4913 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.1145, allocations: 11.97 kB / 0.4913 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.386e-05/0.1146, allocations: 15.94 kB / 0.4914 GB, free: 13.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.1146, allocations: 19.88 kB / 0.4914 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1146, allocations: 8 kB / 0.4914 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1159/0.2305, allocations: 13.73 MB / 0.5048 GB, free: 1.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.2305, allocations: 7.984 kB / 0.5048 GB, free: 1.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.2306, allocations: 23.81 kB / 0.5048 GB, free: 1.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.231, allocations: 87.66 kB / 0.5049 GB, free: 1.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.231, allocations: 0 / 0.5049 GB, free: 1.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.231, allocations: 4 kB / 0.5049 GB, free: 1.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.231, allocations: 3.984 kB / 0.5049 GB, free: 1.18 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.0003913/0.2314, allocations: 286.1 kB / 0.5052 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2314, allocations: 8.031 kB / 0.5052 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.042e-05/0.2314, allocations: 4.188 kB / 0.5052 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.2315, allocations: 34.75 kB / 0.5052 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.2316, allocations: 20.88 kB / 0.5052 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.642e-05/0.2317, allocations: 114.5 kB / 0.5054 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2317, allocations: 7.938 kB / 0.5054 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2317, allocations: 8 kB / 0.5054 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2318, allocations: 61.69 kB / 0.5054 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2318, allocations: 4 kB / 0.5054 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.2318, allocations: 0 / 0.5054 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2318, allocations: 3.984 kB / 0.5054 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.2319, allocations: 28 kB / 0.5055 GB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.2323, allocations: 288.6 kB / 0.5057 GB, free: 224 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/0.2324, allocations: 42.56 kB / 0.5058 GB, free: 172 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.2324, allocations: 20.86 kB / 0.5058 GB, free: 148 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2324, allocations: 4 kB / 0.5058 GB, free: 144 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2325, allocations: 30.56 kB / 0.5058 GB, free: 104 kB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.2325, allocations: 3.938 kB / 0.5058 GB, free: 100 kB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.1703/0.4028, allocations: 119.4 kB / 0.506 GB, free: 26.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4028, allocations: 58.39 kB / 0.506 GB, free: 26.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.933e-05/0.4028, allocations: 90.83 kB / 0.5061 GB, free: 26.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.4028, allocations: 28.02 kB / 0.5061 GB, free: 26.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.729e-05/0.4029, allocations: 82.75 kB / 0.5062 GB, free: 26.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.4029, allocations: 56.19 kB / 0.5063 GB, free: 26.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.4029, allocations: 22.61 kB / 0.5063 GB, free: 26.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.403, allocations: 322 kB / 0.5066 GB, free: 25.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.403, allocations: 14.5 kB / 0.5066 GB, free: 25.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.403, allocations: 20.81 kB / 0.5066 GB, free: 25.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.763e-05/0.4031, allocations: 53.3 kB / 0.5067 GB, free: 25.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4031, allocations: 0 / 0.5067 GB, free: 25.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001156/0.4032, allocations: 90.45 kB / 0.5068 GB, free: 25.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4032, allocations: 10.33 kB / 0.5068 GB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4032, allocations: 2.594 kB / 0.5068 GB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4032, allocations: 1.469 kB / 0.5068 GB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.4033, allocations: 1.438 kB / 0.5068 GB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.4033, allocations: 5.344 kB / 0.5068 GB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.4033, allocations: 10.58 kB / 0.5068 GB, free: 25.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4033, allocations: 1.75 kB / 0.5068 GB, free: 25.7 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 4.637e-05/0.4034, allocations: 115.8 kB / 0.5069 GB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.4034, allocations: 0 / 0.5069 GB, free: 25.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.4034, allocations: 14.75 kB / 0.5069 GB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4034, allocations: 0 / 0.5069 GB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4034, allocations: 3.578 kB / 0.5069 GB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4035, allocations: 0 / 0.5069 GB, free: 25.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.4036, allocations: 151.9 kB / 0.5071 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4036, allocations: 9.312 kB / 0.5071 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.4036, allocations: 4.125 kB / 0.5071 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4036, allocations: 1.156 kB / 0.5071 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4036, allocations: 7.5 kB / 0.5071 GB, free: 25.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4036, allocations: 0.9844 kB / 0.5071 GB, free: 25.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4036, allocations: 3.656 kB / 0.5071 GB, free: 25.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.4037, allocations: 184.1 kB / 0.5073 GB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.4038, allocations: 11.23 kB / 0.5073 GB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.4038, allocations: 8.781 kB / 0.5073 GB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.4038, allocations: 1.953 kB / 0.5073 GB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.4038, allocations: 1.844 kB / 0.5073 GB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.4038, allocations: 1.562 kB / 0.5073 GB, free: 25.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.949e-06/0.4039, allocations: 75.28 kB / 0.5074 GB, free: 25.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4039, allocations: 1.547 kB / 0.5074 GB, free: 25.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.4041, allocations: 24.7 kB / 0.5074 GB, free: 25.2 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.0004248/0.4045, allocations: 0.7603 MB / 0.5081 GB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.4047, allocations: 108 kB / 0.5082 GB, free: 24.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4047, allocations: 0.5 kB / 0.5082 GB, free: 24.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.4048, allocations: 85.64 kB / 0.5083 GB, free: 24.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.4052, allocations: 37.75 kB / 0.5083 GB, free: 24.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.4057, allocations: 315.1 kB / 0.5086 GB, free: 24.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.4058, allocations: 0.7177 MB / 0.5093 GB, free: 23.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.881e-05/0.4059, allocations: 10.48 kB / 0.5094 GB, free: 23.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.4059, allocations: 38.41 kB / 0.5094 GB, free: 23.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4059, allocations: 1 kB / 0.5094 GB, free: 23.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.4305, allocations: 4.447 MB / 0.5137 GB, free: 22.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.52, allocations: 19.86 kB / 0.5138 GB, free: 22.85 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.737103361985646] Failed to read output from testmodel.py, exit status != 0: 11.894572333898395 11.908259309 11.674277575 Calling exit ...