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.001335/0.001335, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001437/0.001437, allocations: 219.8 kB / 23.03 MB, free: 4.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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.01315/0.01315, allocations: 2.804 MB / 316 MB, free: 132 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.00197/0.00197, allocations: 59.91 kB / 439.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 54.16 MB / 493.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.0101/0.1123, allocations: 7.573 MB / 0.4894 GB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000826/0.1131, allocations: 0.8096 MB / 0.4902 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.1131, allocations: 3.938 kB / 0.4902 GB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.1134, allocations: 59.64 kB / 0.4903 GB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.1134, allocations: 27.78 kB / 0.4903 GB, free: 14.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.1138, allocations: 111.2 kB / 0.4904 GB, free: 14.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.645e-05/0.1139, allocations: 59.61 kB / 0.4904 GB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.1139, allocations: 0 / 0.4904 GB, free: 14.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.114, allocations: 19.92 kB / 0.4905 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.114, allocations: 27.86 kB / 0.4905 GB, free: 14.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.114, allocations: 4 kB / 0.4905 GB, free: 14.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1152/0.2292, allocations: 13.72 MB / 0.5039 GB, free: 1.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.2293, allocations: 7.938 kB / 0.5039 GB, free: 1.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.2293, allocations: 15.94 kB / 0.5039 GB, free: 1.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.2297, allocations: 91.64 kB / 0.504 GB, free: 1.789 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2297, allocations: 4 kB / 0.504 GB, free: 1.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2297, allocations: 0 / 0.504 GB, free: 1.785 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2297, allocations: 0 / 0.504 GB, free: 1.785 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.2302, allocations: 286.1 kB / 0.5043 GB, free: 1.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2302, allocations: 15.97 kB / 0.5043 GB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.372e-05/0.2302, allocations: 4.125 kB / 0.5043 GB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.2303, allocations: 46.67 kB / 0.5043 GB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.2304, allocations: 16.88 kB / 0.5044 GB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.52e-05/0.2305, allocations: 106.5 kB / 0.5045 GB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.2305, allocations: 3.938 kB / 0.5045 GB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2305, allocations: 8 kB / 0.5045 GB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.2307, allocations: 65.69 kB / 0.5045 GB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2307, allocations: 3.984 kB / 0.5045 GB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.2307, allocations: 3.938 kB / 0.5045 GB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2307, allocations: 4 kB / 0.5045 GB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.736e-05/0.2308, allocations: 35.98 kB / 0.5046 GB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.2312, allocations: 284.6 kB / 0.5049 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.2313, allocations: 30.58 kB / 0.5049 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.2313, allocations: 28.8 kB / 0.5049 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2314, allocations: 0 / 0.5049 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.2314, allocations: 34.56 kB / 0.5049 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 9.02e-07/0.2314, allocations: 4 kB / 0.5049 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002667/0.2317, allocations: 113.9 kB / 0.5051 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.2317, allocations: 55.34 kB / 0.5051 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.202e-05/0.2318, allocations: 93.86 kB / 0.5052 GB, free: 416 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2318, allocations: 25.7 kB / 0.5052 GB, free: 384 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.2318, allocations: 84.14 kB / 0.5053 GB, free: 296 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.2319, allocations: 51.48 kB / 0.5053 GB, free: 244 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.2319, allocations: 25.7 kB / 0.5054 GB, free: 212 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1931/0.425, allocations: 314.8 kB / 0.5057 GB, free: 25.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.425, allocations: 15.86 kB / 0.5057 GB, free: 25.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.4251, allocations: 18.59 kB / 0.5057 GB, free: 25.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.458e-05/0.4252, allocations: 59.72 kB / 0.5058 GB, free: 25.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4252, allocations: 0.5312 kB / 0.5058 GB, free: 25.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001257/0.4253, allocations: 91.17 kB / 0.5059 GB, free: 25.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4253, allocations: 6.25 kB / 0.5059 GB, free: 25.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.4253, allocations: 3.859 kB / 0.5059 GB, free: 25.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4253, allocations: 0 / 0.5059 GB, free: 25.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.4254, allocations: 4.547 kB / 0.5059 GB, free: 25.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4254, allocations: 4.781 kB / 0.5059 GB, free: 25.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.4254, allocations: 8.219 kB / 0.5059 GB, free: 25.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4254, allocations: 3.469 kB / 0.5059 GB, free: 25.67 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.894e-05/0.4255, allocations: 109.3 kB / 0.506 GB, free: 25.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.4255, allocations: 6.125 kB / 0.506 GB, free: 25.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.4256, allocations: 11.91 kB / 0.506 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4256, allocations: 4.594 kB / 0.506 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4256, allocations: 7.344 kB / 0.506 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4256, allocations: 0 / 0.506 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.4257, allocations: 157.3 kB / 0.5062 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4257, allocations: 0 / 0.5062 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.4257, allocations: 3.781 kB / 0.5062 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4257, allocations: 0.6562 kB / 0.5062 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4258, allocations: 4.156 kB / 0.5062 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4258, allocations: 3.938 kB / 0.5062 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4258, allocations: 4.141 kB / 0.5062 GB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.4259, allocations: 185.7 kB / 0.5064 GB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.4259, allocations: 9.016 kB / 0.5064 GB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.4259, allocations: 2.531 kB / 0.5064 GB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/0.426, allocations: 4.812 kB / 0.5064 GB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.426, allocations: 2.328 kB / 0.5064 GB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.426, allocations: 2.75 kB / 0.5064 GB, free: 25.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.426, allocations: 75.97 kB / 0.5065 GB, free: 25.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.426, allocations: 1.344 kB / 0.5065 GB, free: 25.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.4263, allocations: 21.81 kB / 0.5065 GB, free: 25.19 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.0004309/0.4267, allocations: 0.7536 MB / 0.5072 GB, free: 24.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.4269, allocations: 101.5 kB / 0.5073 GB, free: 24.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4269, allocations: 0 / 0.5073 GB, free: 24.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.4269, allocations: 83.66 kB / 0.5074 GB, free: 24.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.4279, allocations: 47.67 kB / 0.5074 GB, free: 24.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.4285, allocations: 312.1 kB / 0.5077 GB, free: 24.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.06e-05/0.4286, allocations: 109.5 kB / 0.5078 GB, free: 24.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.813e-05/0.4286, allocations: 17.36 kB / 0.5078 GB, free: 24.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.4287, allocations: 40.95 kB / 0.5079 GB, free: 24.14 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4287, allocations: 0 / 0.5079 GB, free: 24.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.4536, allocations: 4.478 MB / 0.5123 GB, free: 23.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.82, allocations: 10.38 kB / 0.5123 GB, free: 23.36 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: 16.016338087967597] Failed to read output from testmodel.py, exit status != 0: 12.201288729906082 12.228178389 11.993598594 Calling exit ...