Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.001251/0.001251, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001393/0.001393, allocations: 220 kB / 23.03 MB, free: 4.922 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.01253/0.01253, allocations: 2.815 MB / 316 MB, free: 80 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.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",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.002005/0.002005, allocations: 63.91 kB / 439.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.1003, allocations: 54.18 MB / 493.6 MB, free: 7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.253/0.3532, allocations: 45.35 MB / 0.5263 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02554/0.3788, allocations: 25.15 MB / 0.5509 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005998/0.3794, allocations: 2.938 kB / 0.5509 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.381, allocations: 0.5005 MB / 0.5514 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006514/0.3875, allocations: 2.177 MB / 0.5535 GB, free: 10.8 MB / 398.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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p'. [/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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008744/0.3962, allocations: 2.89 MB / 0.5563 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.3976, allocations: 0.9416 MB / 0.5572 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.3977, allocations: 24.19 kB / 0.5573 GB, free: 7.902 MB / 398.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.6921/1.09, allocations: 52.01 MB / 0.6081 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007524/1.091, allocations: 306.6 kB / 0.6083 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/1.091, allocations: 36 kB / 0.6084 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.226/1.317, allocations: 27.4 MB / 0.6351 GB, free: 9.738 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/1.317, allocations: 111.5 kB / 0.6352 GB, free: 9.629 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005294/1.317, allocations: 282.8 kB / 0.6355 GB, free: 9.352 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008074/1.325, allocations: 1.862 MB / 0.6373 GB, free: 7.484 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.326, allocations: 0 / 0.6373 GB, free: 7.484 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/1.326, allocations: 0 / 0.6373 GB, free: 7.484 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/1.326, allocations: 0 / 0.6373 GB, free: 7.484 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001954/1.327, allocations: 1.045 MB / 0.6384 GB, free: 6.406 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.328, allocations: 8.031 kB / 0.6384 GB, free: 6.398 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.142e-05/1.328, allocations: 17.5 kB / 0.6384 GB, free: 6.383 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/1.328, allocations: 123 kB / 0.6385 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/1.33, allocations: 0.4961 MB / 0.639 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/1.335, allocations: 274.1 kB / 0.6392 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/1.335, allocations: 45.31 kB / 0.6393 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/1.335, allocations: 59.94 kB / 0.6393 GB, free: 5.359 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/1.337, allocations: 0.9886 MB / 0.6403 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.337, allocations: 4 kB / 0.6403 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/1.337, allocations: 24 kB / 0.6403 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/1.337, allocations: 35.97 kB / 0.6404 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/1.338, allocations: 0.7084 MB / 0.6411 GB, free: 3.531 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/1.342, allocations: 2.787 MB / 0.6438 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/1.343, allocations: 265.1 kB / 0.644 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/1.343, allocations: 153.7 kB / 0.6442 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/1.345, allocations: 0.8765 MB / 0.645 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.345, allocations: 38.5 kB / 0.6451 GB, free: 15.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.865e-06/1.345, allocations: 4 kB / 0.6451 GB, free: 15.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.00177/1.347, allocations: 0.5973 MB / 0.6457 GB, free: 14.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/1.347, allocations: 81.11 kB / 0.6457 GB, free: 14.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/1.347, allocations: 186.5 kB / 0.6459 GB, free: 14.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/1.347, allocations: 29.7 kB / 0.6459 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/1.347, allocations: 292.4 kB / 0.6462 GB, free: 14.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/1.347, allocations: 241.8 kB / 0.6465 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/1.348, allocations: 97.95 kB / 0.6466 GB, free: 13.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/1.348, allocations: 346.8 kB / 0.6469 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/1.348, allocations: 113.3 kB / 0.647 GB, free: 13.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/1.348, allocations: 307.9 kB / 0.6473 GB, free: 12.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/1.349, allocations: 488.9 kB / 0.6477 GB, free: 12.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.349, allocations: 0 / 0.6477 GB, free: 12.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009471/1.35, allocations: 484.6 kB / 0.6482 GB, free: 11.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.35, allocations: 11.94 kB / 0.6482 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.35, allocations: 4 kB / 0.6482 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.35, allocations: 8 kB / 0.6482 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/1.35, allocations: 71.84 kB / 0.6483 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/1.35, allocations: 11.98 kB / 0.6483 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/1.351, allocations: 59.52 kB / 0.6484 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-05/1.351, allocations: 20.31 kB / 0.6484 GB, free: 11.65 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.000289/1.351, allocations: 209.6 kB / 0.6486 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/1.351, allocations: 31.75 kB / 0.6486 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/1.351, allocations: 22.66 kB / 0.6486 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.351, allocations: 4 kB / 0.6486 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.351, allocations: 0 / 0.6486 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.351, allocations: 0 / 0.6486 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000741/1.352, allocations: 436 kB / 0.6491 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.352, allocations: 192 / 0.6491 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/1.352, allocations: 23.98 kB / 0.6491 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.352, allocations: 7.875 kB / 0.6491 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/1.352, allocations: 23.92 kB / 0.6491 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/1.352, allocations: 8.094 kB / 0.6491 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.352, allocations: 0 / 0.6491 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/1.353, allocations: 0.4984 MB / 0.6496 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/1.353, allocations: 43.56 kB / 0.6497 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/1.353, allocations: 11.97 kB / 0.6497 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/1.353, allocations: 4 kB / 0.6497 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.353, allocations: 19.97 kB / 0.6497 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/1.353, allocations: 8 kB / 0.6497 GB, free: 10.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001272/1.353, allocations: 128.2 kB / 0.6498 GB, free: 10.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/1.353, allocations: 0 / 0.6498 GB, free: 10.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008245/1.354, allocations: 191.5 kB / 0.65 GB, free: 9.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001757/1.356, allocations: 1.244 MB / 0.6512 GB, free: 8.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/1.357, allocations: 0.56 MB / 0.6518 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.357, allocations: 0 / 0.6518 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005513/1.357, allocations: 468.2 kB / 0.6522 GB, free: 7.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.359, allocations: 184.5 kB / 0.6524 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/1.364, allocations: 3.634 MB / 0.6559 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/1.365, allocations: 360.6 kB / 0.6563 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005814/1.365, allocations: 257.9 kB / 0.6565 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/1.366, allocations: 275.3 kB / 0.6568 GB, free: 2.602 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/1.366, allocations: 0 / 0.6568 GB, free: 2.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/1.415, allocations: 19.37 MB / 0.6757 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.99, allocations: 1.5 kB / 0.6757 GB, free: 15.3 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.09800194296986] Failed to read output from testmodel.py, exit status != 0: 14.376228634035215 14.394885867 13.065734148 Calling exit ...