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.001315/0.001315, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001388/0.001388, allocations: 215 kB / 20.13 MB, free: 2.949 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.434/1.434, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.01203/0.01203, allocations: 2.789 MB / 312.3 MB, free: 2.336 MB / 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.001976/0.001976, allocations: 65.52 kB / 434.2 MB, free: 39.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0802/0.08217, allocations: 54.13 MB / 488.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.00774/0.08991, allocations: 8.208 MB / 496.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005846/0.0905, allocations: 0.9395 MB / 497.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.09053, allocations: 3.938 kB / 497.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.09075, allocations: 79.17 kB / 497.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.262e-05/0.09078, allocations: 26.47 kB / 497.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.09109, allocations: 120.4 kB / 497.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.09116, allocations: 51.78 kB / 497.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.09121, allocations: 6.828 kB / 497.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.342e-05/0.09124, allocations: 20.34 kB / 497.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.09129, allocations: 17.31 kB / 497.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.09131, allocations: 1.469 kB / 497.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1087/0.2, allocations: 13.69 MB / 0.4995 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.2, allocations: 4 kB / 0.4995 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.2001, allocations: 23.88 kB / 0.4995 GB, free: 10.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.2004, allocations: 87.64 kB / 0.4996 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2004, allocations: 0 / 0.4996 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2004, allocations: 0 / 0.4996 GB, free: 10.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.2004, allocations: 4 kB / 0.4996 GB, free: 10.25 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.0004502/0.2009, allocations: 363.2 kB / 0.5 GB, free: 9.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2009, allocations: 11.98 kB / 0.5 GB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.202e-05/0.2009, allocations: 4.188 kB / 0.5 GB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.201, allocations: 38.73 kB / 0.5 GB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.2011, allocations: 24.86 kB / 0.5001 GB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2012, allocations: 172.3 kB / 0.5002 GB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2012, allocations: 3.938 kB / 0.5002 GB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.2012, allocations: 8 kB / 0.5002 GB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2013, allocations: 73.67 kB / 0.5003 GB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2014, allocations: 0 / 0.5003 GB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.2014, allocations: 0 / 0.5003 GB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2014, allocations: 4 kB / 0.5003 GB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.2014, allocations: 27.98 kB / 0.5003 GB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.2018, allocations: 320.3 kB / 0.5006 GB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.106e-05/0.2019, allocations: 42.56 kB / 0.5007 GB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.2019, allocations: 20.86 kB / 0.5007 GB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.202, allocations: 0 / 0.5007 GB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.202, allocations: 34.56 kB / 0.5007 GB, free: 8.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.202, allocations: 0 / 0.5007 GB, free: 8.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002404/0.2022, allocations: 117.9 kB / 0.5008 GB, free: 8.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.2023, allocations: 59.33 kB / 0.5009 GB, free: 8.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.2023, allocations: 89.86 kB / 0.501 GB, free: 8.672 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2023, allocations: 33.7 kB / 0.501 GB, free: 8.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.2024, allocations: 80.14 kB / 0.5011 GB, free: 8.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.2024, allocations: 55.48 kB / 0.5011 GB, free: 8.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.2025, allocations: 25.7 kB / 0.5012 GB, free: 8.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2026, allocations: 310.8 kB / 0.5015 GB, free: 8.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.2026, allocations: 20 kB / 0.5015 GB, free: 8.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.2027, allocations: 24.39 kB / 0.5015 GB, free: 8.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.2027, allocations: 56.92 kB / 0.5016 GB, free: 8.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2027, allocations: 7.938 kB / 0.5016 GB, free: 8.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001259/0.2029, allocations: 89.48 kB / 0.5017 GB, free: 7.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.2029, allocations: 4 kB / 0.5017 GB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2029, allocations: 0 / 0.5017 GB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2029, allocations: 0 / 0.5017 GB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.2029, allocations: 4 kB / 0.5017 GB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.203, allocations: 3.938 kB / 0.5017 GB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.203, allocations: 15.88 kB / 0.5017 GB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.203, allocations: 0 / 0.5017 GB, free: 7.922 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 8.229e-05/0.2031, allocations: 117.8 kB / 0.5018 GB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.2031, allocations: 3.953 kB / 0.5018 GB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.2031, allocations: 8.438 kB / 0.5018 GB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2031, allocations: 0 / 0.5018 GB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2031, allocations: 7.938 kB / 0.5018 GB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2031, allocations: 0 / 0.5018 GB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2033, allocations: 181.8 kB / 0.502 GB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2033, allocations: 0 / 0.502 GB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.2034, allocations: 4 kB / 0.502 GB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2034, allocations: 0 / 0.502 GB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2034, allocations: 0 / 0.502 GB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2034, allocations: 4 kB / 0.502 GB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2034, allocations: 7.875 kB / 0.502 GB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.2035, allocations: 187.4 kB / 0.5022 GB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.2036, allocations: 85 kB / 0.5023 GB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2036, allocations: 8 kB / 0.5023 GB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.2037, allocations: 4 kB / 0.5023 GB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.2037, allocations: 3.938 kB / 0.5023 GB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.2037, allocations: 7.984 kB / 0.5023 GB, free: 7.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.107e-05/0.2037, allocations: 79.28 kB / 0.5024 GB, free: 7.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2037, allocations: 0 / 0.5024 GB, free: 7.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.2039, allocations: 19.94 kB / 0.5024 GB, free: 7.109 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.0006312/0.2046, allocations: 0.7642 MB / 0.5031 GB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.2048, allocations: 97.52 kB / 0.5032 GB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2048, allocations: 0 / 0.5032 GB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.2048, allocations: 86.41 kB / 0.5033 GB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008484/0.2057, allocations: 33.62 kB / 0.5033 GB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.2063, allocations: 325.2 kB / 0.5036 GB, free: 5.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.2066, allocations: 0.7123 MB / 0.5043 GB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.2067, allocations: 16.31 kB / 0.5044 GB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.2067, allocations: 39.42 kB / 0.5044 GB, free: 4.938 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2067, allocations: 0 / 0.5044 GB, free: 4.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.226, allocations: 4.114 MB / 0.5084 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.533, allocations: 5.656 kB / 0.5084 GB, free: 0.8555 MB / 366.1 MB " [Timeout remaining time 651] (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: 12.746778814995196] Failed to read output from testmodel.py, exit status != 0: 8.879530664009508 8.897122195 8.693496149 Calling exit ...