Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 110.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.0125/0.0125, allocations: 2.796 MB / 305.5 MB, free: 7.008 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 68.12 kB / 425 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 52.96 MB / 478 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01282/0.1169, allocations: 9.047 MB / 487 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00944/0.1264, allocations: 8.587 MB / 495.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.1266, allocations: 0 / 495.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.1271, allocations: 163 kB / 495.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.1274, allocations: 107.3 kB / 495.9 MB, free: 15.24 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.1317, allocations: 1.454 MB / 497.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.1322, allocations: 270.6 kB / 497.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.1322, allocations: 9.688 kB / 497.6 MB, free: 13.51 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.3748/0.507, allocations: 13.07 MB / 0.4987 GB, free: 1.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.5073, allocations: 91.61 kB / 0.4988 GB, free: 1.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.5073, allocations: 8 kB / 0.4988 GB, free: 1.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.5094, allocations: 471.9 kB / 0.4993 GB, free: 1.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.5095, allocations: 35.83 kB / 0.4993 GB, free: 1.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.5096, allocations: 91.48 kB / 0.4994 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.5111, allocations: 0.5102 MB / 0.4999 GB, free: 412 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5111, allocations: 0 / 0.4999 GB, free: 412 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5111, allocations: 4 kB / 0.4999 GB, free: 408 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.5111, allocations: 0 / 0.4999 GB, free: 408 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009561/0.5121, allocations: 0.5604 MB / 0.5004 GB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5121, allocations: 12.03 kB / 0.5004 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/0.5122, allocations: 46.73 kB / 0.5005 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.5125, allocations: 56.75 kB / 0.5005 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.5128, allocations: 208.1 kB / 0.5007 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.5128, allocations: 12.12 kB / 0.5007 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.5128, allocations: 12 kB / 0.5008 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.5134, allocations: 243.1 kB / 0.501 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5134, allocations: 0 / 0.501 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.5134, allocations: 4 kB / 0.501 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5134, allocations: 11.98 kB / 0.501 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.5139, allocations: 200.2 kB / 0.5012 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009436/0.5149, allocations: 0.6903 MB / 0.5019 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.5154, allocations: 202.4 kB / 0.5021 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.5157, allocations: 141.1 kB / 0.5022 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.516, allocations: 327.2 kB / 0.5025 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.516, allocations: 38.56 kB / 0.5025 GB, free: 13.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.516, allocations: 0 / 0.5025 GB, free: 13.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.002974/0.519, allocations: 1.214 MB / 0.5037 GB, free: 12.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5191, allocations: 59.39 kB / 0.5038 GB, free: 12.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.5192, allocations: 129.8 kB / 0.5039 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5192, allocations: 29.64 kB / 0.5039 GB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.5193, allocations: 112.9 kB / 0.504 GB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.5194, allocations: 162.5 kB / 0.5042 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.5195, allocations: 57.69 kB / 0.5043 GB, free: 11.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5197, allocations: 326.8 kB / 0.5046 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.5199, allocations: 128.5 kB / 0.5047 GB, free: 11.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.5202, allocations: 193.2 kB / 0.5049 GB, free: 10.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.5208, allocations: 344.8 kB / 0.5052 GB, free: 10.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5208, allocations: 0 / 0.5052 GB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001173/0.522, allocations: 477.8 kB / 0.5057 GB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.522, allocations: 4 kB / 0.5057 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.522, allocations: 12.17 kB / 0.5057 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.5228, allocations: 140.7 kB / 0.5058 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.5229, allocations: 47.86 kB / 0.5059 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006884/0.5236, allocations: 0.6498 MB / 0.5065 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.5238, allocations: 16.03 kB / 0.5065 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.5238, allocations: 8 kB / 0.5065 GB, free: 9.176 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.5239, allocations: 137.9 kB / 0.5066 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.524, allocations: 23.84 kB / 0.5067 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.358e-05/0.524, allocations: 22.28 kB / 0.5067 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.5241, allocations: 7.984 kB / 0.5067 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.5241, allocations: 4 kB / 0.5067 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5241, allocations: 0 / 0.5067 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.5244, allocations: 290.2 kB / 0.507 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5244, allocations: 0 / 0.507 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.5246, allocations: 43.97 kB / 0.507 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/0.525, allocations: 76.66 kB / 0.5071 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.525, allocations: 4 kB / 0.5071 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.5265, allocations: 1.552 MB / 0.5086 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5265, allocations: 3.938 kB / 0.5086 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.5277, allocations: 0.6976 MB / 0.5093 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.5278, allocations: 97 kB / 0.5094 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.5278, allocations: 4 kB / 0.5094 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.528, allocations: 11.92 kB / 0.5094 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.528, allocations: 23.91 kB / 0.5094 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.5281, allocations: 15.94 kB / 0.5094 GB, free: 5.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.162e-05/0.5282, allocations: 95.27 kB / 0.5095 GB, free: 5.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5282, allocations: 4.062 kB / 0.5095 GB, free: 5.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.5286, allocations: 60 kB / 0.5096 GB, free: 5.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/0.5304, allocations: 1.243 MB / 0.5108 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000816/0.5312, allocations: 343.5 kB / 0.5111 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5312, allocations: 0 / 0.5111 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.5318, allocations: 294.1 kB / 0.5114 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.5325, allocations: 95.72 kB / 0.5115 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.5372, allocations: 2.918 MB / 0.5144 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1997/0.7369, allocations: 0.734 MB / 0.5151 GB, free: 47.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003552/0.7373, allocations: 116 kB / 0.5152 GB, free: 47.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.7374, allocations: 60.36 kB / 0.5152 GB, free: 47.72 MB / 382.1 MB Notification: Performance of SimCode: time 9.91e-07/0.7374, allocations: 0 / 0.5152 GB, free: 47.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04067/0.7781, allocations: 7.942 MB / 0.523 GB, free: 46.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.29, allocations: 7.703 kB / 0.523 GB, free: 46.6 MB / 382.1 MB " [Timeout remaining time 646] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic_fmu --startTime=0 --stopTime=80 --stepSize=0.1 --timeout=50 --tolerance=1e-07 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.68911322997883] Failed to read output from testmodel.py, exit status != 0: 13.636466172989458 13.652887643 13.139120209 Calling exit ...