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.001317/0.001317, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001439/0.001439, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.809 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.013/0.013, allocations: 2.803 MB / 315.2 MB, free: 100 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.001988/0.001988, allocations: 59.91 kB / 438.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09256, allocations: 54.18 MB / 492.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01006/0.1026, allocations: 7.576 MB / 0.4886 GB, free: 15.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.1035, allocations: 0.8057 MB / 0.4894 GB, free: 14.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.1035, allocations: 4 kB / 0.4894 GB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1038, allocations: 67.58 kB / 0.4895 GB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.1038, allocations: 19.84 kB / 0.4895 GB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1041, allocations: 119.1 kB / 0.4896 GB, free: 14.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.253e-05/0.1042, allocations: 55.67 kB / 0.4897 GB, free: 14.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.1043, allocations: 3.938 kB / 0.4897 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.1043, allocations: 15.94 kB / 0.4897 GB, free: 14.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.1044, allocations: 23.91 kB / 0.4897 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.1044, allocations: 0 / 0.4897 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1151/0.2195, allocations: 13.73 MB / 0.5031 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.2195, allocations: 7.938 kB / 0.5031 GB, free: 1.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.2195, allocations: 23.86 kB / 0.5032 GB, free: 1.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.2198, allocations: 83.72 kB / 0.5032 GB, free: 1.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2198, allocations: 3.938 kB / 0.5032 GB, free: 1.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2198, allocations: 0 / 0.5032 GB, free: 1.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.2199, allocations: 0 / 0.5032 GB, free: 1.734 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.0004003/0.2203, allocations: 286.1 kB / 0.5035 GB, free: 1.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2203, allocations: 12.03 kB / 0.5035 GB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.2203, allocations: 38.73 kB / 0.5036 GB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.2204, allocations: 20.88 kB / 0.5036 GB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/0.2205, allocations: 110.5 kB / 0.5037 GB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2206, allocations: 8.125 kB / 0.5037 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2206, allocations: 4 kB / 0.5037 GB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.2207, allocations: 65.67 kB / 0.5038 GB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.2207, allocations: 4 kB / 0.5038 GB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2207, allocations: 7.938 kB / 0.5038 GB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2207, allocations: 0 / 0.5038 GB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006604/0.2214, allocations: 31.98 kB / 0.5038 GB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.2218, allocations: 292.6 kB / 0.5041 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.427e-05/0.2219, allocations: 34.58 kB / 0.5041 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.2219, allocations: 24.84 kB / 0.5041 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.2219, allocations: 4 kB / 0.5042 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.222, allocations: 38.59 kB / 0.5042 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.222, allocations: 0 / 0.5042 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002444/0.2222, allocations: 117.8 kB / 0.5043 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.2223, allocations: 55.41 kB / 0.5044 GB, free: 464 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.2223, allocations: 93.8 kB / 0.5044 GB, free: 360 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.2223, allocations: 25.7 kB / 0.5045 GB, free: 328 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.2224, allocations: 80.14 kB / 0.5045 GB, free: 244 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.2224, allocations: 59.42 kB / 0.5046 GB, free: 184 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.2225, allocations: 21.7 kB / 0.5046 GB, free: 156 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1844/0.4069, allocations: 322.8 kB / 0.5049 GB, free: 25.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.4069, allocations: 17.88 kB / 0.5049 GB, free: 25.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.407, allocations: 14.34 kB / 0.505 GB, free: 25.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.4071, allocations: 56.03 kB / 0.505 GB, free: 25.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4071, allocations: 0 / 0.505 GB, free: 25.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001395/0.4072, allocations: 89.84 kB / 0.5051 GB, free: 25.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4072, allocations: 3.719 kB / 0.5051 GB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4072, allocations: 0 / 0.5051 GB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4072, allocations: 2.672 kB / 0.5051 GB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.4073, allocations: 1.812 kB / 0.5051 GB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4073, allocations: 0.9375 kB / 0.5051 GB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.4073, allocations: 16.61 kB / 0.5051 GB, free: 25.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.4074, allocations: 2 kB / 0.5051 GB, free: 25.62 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 5.773e-05/0.4074, allocations: 113.1 kB / 0.5052 GB, free: 25.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.4074, allocations: 5.312 kB / 0.5052 GB, free: 25.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.4075, allocations: 12.75 kB / 0.5053 GB, free: 25.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4075, allocations: 0.5156 kB / 0.5053 GB, free: 25.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4075, allocations: 3.75 kB / 0.5053 GB, free: 25.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4075, allocations: 2.062 kB / 0.5053 GB, free: 25.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.4076, allocations: 148.4 kB / 0.5054 GB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4076, allocations: 1.625 kB / 0.5054 GB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.4077, allocations: 7.156 kB / 0.5054 GB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.4077, allocations: 0 / 0.5054 GB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4077, allocations: 0.8125 kB / 0.5054 GB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4077, allocations: 3.312 kB / 0.5054 GB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4077, allocations: 7.328 kB / 0.5054 GB, free: 25.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.4078, allocations: 191 kB / 0.5056 GB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.4078, allocations: 8.641 kB / 0.5056 GB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.4078, allocations: 2.875 kB / 0.5056 GB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.4079, allocations: 5.5 kB / 0.5056 GB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.4079, allocations: 4.938 kB / 0.5056 GB, free: 25.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4079, allocations: 4.062 kB / 0.5056 GB, free: 25.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.933e-05/0.4079, allocations: 79.09 kB / 0.5057 GB, free: 25.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4079, allocations: 0 / 0.5057 GB, free: 25.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000258/0.4082, allocations: 16.84 kB / 0.5057 GB, free: 25.14 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.0005876/0.4088, allocations: 0.7482 MB / 0.5064 GB, free: 24.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.409, allocations: 106 kB / 0.5065 GB, free: 24.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.409, allocations: 0 / 0.5065 GB, free: 24.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.4091, allocations: 83.92 kB / 0.5066 GB, free: 24.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.4103, allocations: 47.66 kB / 0.5067 GB, free: 24.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.4109, allocations: 313.2 kB / 0.507 GB, free: 24.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.291e-05/0.411, allocations: 110.1 kB / 0.5071 GB, free: 24.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.411, allocations: 9.672 kB / 0.5071 GB, free: 24.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.4111, allocations: 40.27 kB / 0.5071 GB, free: 24.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4111, allocations: 0 / 0.5071 GB, free: 24.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.4432, allocations: 4.686 MB / 0.5117 GB, free: 22.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.55, allocations: 11.41 kB / 0.5117 GB, free: 22.97 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: 14.954193520359695] Failed to read output from testmodel.py, exit status != 0: 11.87473239377141 11.891454441 11.66871455 Calling exit ...