Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.001412/0.001412, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.001525/0.001525, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.01245/0.01245, allocations: 2.807 MB / 305.5 MB, free: 6.988 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.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.91 kB / 425 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09998, allocations: 52.96 MB / 478 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.3209/0.4209, allocations: 50.98 MB / 0.5166 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02168/0.4426, allocations: 29.16 MB / 0.545 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00075/0.4433, allocations: 6.031 kB / 0.545 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.4448, allocations: 0.6208 MB / 0.5456 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006577/0.4514, allocations: 2.249 MB / 0.5478 GB, free: 1 MB / 382.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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008888/0.4603, allocations: 2.936 MB / 0.5507 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.4619, allocations: 0.9281 MB / 0.5516 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.462, allocations: 29.41 kB / 0.5516 GB, free: 15.12 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.7016/1.164, allocations: 51.92 MB / 0.6024 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008325/1.165, allocations: 310.5 kB / 0.6026 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/1.165, allocations: 40 kB / 0.6027 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2334/1.398, allocations: 27.37 MB / 0.6294 GB, free: 9.449 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/1.398, allocations: 111.5 kB / 0.6295 GB, free: 9.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006934/1.399, allocations: 334.4 kB / 0.6298 GB, free: 9.012 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007866/1.407, allocations: 1.866 MB / 0.6317 GB, free: 7.141 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.407, allocations: 0 / 0.6317 GB, free: 7.141 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/1.407, allocations: 0 / 0.6317 GB, free: 7.141 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.694e-05/1.407, allocations: 0 / 0.6317 GB, free: 7.141 MB / 462.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.00259/1.409, allocations: 1.135 MB / 0.6328 GB, free: 5.957 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.409, allocations: 12.03 kB / 0.6328 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/1.41, allocations: 115.1 kB / 0.6329 GB, free: 5.824 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/1.412, allocations: 0.4961 MB / 0.6334 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005327/1.417, allocations: 343.5 kB / 0.6337 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-05/1.417, allocations: 49.88 kB / 0.6338 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/1.417, allocations: 59.94 kB / 0.6338 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.419, allocations: 0.8684 MB / 0.6347 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/1.419, allocations: 4 kB / 0.6347 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/1.419, allocations: 24 kB / 0.6347 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/1.419, allocations: 27.98 kB / 0.6347 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/1.421, allocations: 0.7117 MB / 0.6354 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/1.426, allocations: 5.128 MB / 0.6404 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/1.427, allocations: 265.1 kB / 0.6407 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/1.427, allocations: 165.6 kB / 0.6408 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00181/1.429, allocations: 1.541 MB / 0.6423 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/1.429, allocations: 34.56 kB / 0.6424 GB, free: 11.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 2.244e-06/1.429, allocations: 0 / 0.6424 GB, free: 11.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.001705/1.43, allocations: 0.6049 MB / 0.643 GB, free: 10.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/1.43, allocations: 81.11 kB / 0.643 GB, free: 10.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/1.431, allocations: 178.8 kB / 0.6432 GB, free: 10.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/1.431, allocations: 29.7 kB / 0.6432 GB, free: 10.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/1.431, allocations: 300.3 kB / 0.6435 GB, free: 9.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/1.431, allocations: 241.8 kB / 0.6437 GB, free: 9.742 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.431, allocations: 97.95 kB / 0.6438 GB, free: 9.637 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/1.432, allocations: 342.8 kB / 0.6442 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/1.432, allocations: 121.3 kB / 0.6443 GB, free: 9.176 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/1.432, allocations: 304.1 kB / 0.6446 GB, free: 8.805 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/1.433, allocations: 488.6 kB / 0.645 GB, free: 8.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.433, allocations: 0 / 0.645 GB, free: 8.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009617/1.434, allocations: 492.8 kB / 0.6455 GB, free: 7.762 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.434, allocations: 15.97 kB / 0.6455 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.434, allocations: 8 kB / 0.6455 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/1.434, allocations: 11.98 kB / 0.6455 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/1.434, allocations: 83.84 kB / 0.6456 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/1.435, allocations: 1.18 MB / 0.6468 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/1.436, allocations: 59.52 kB / 0.6468 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/1.436, allocations: 20 kB / 0.6468 GB, free: 6.34 MB / 478.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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003885/1.436, allocations: 198.5 kB / 0.647 GB, free: 6.137 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/1.436, allocations: 27.81 kB / 0.6471 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/1.436, allocations: 22.66 kB / 0.6471 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/1.436, allocations: 4 kB / 0.6471 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.436, allocations: 8.031 kB / 0.6471 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/1.436, allocations: 3.984 kB / 0.6471 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/1.437, allocations: 0.4969 MB / 0.6476 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.437, allocations: 0 / 0.6476 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/1.437, allocations: 43.97 kB / 0.6476 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.437, allocations: 0 / 0.6476 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/1.437, allocations: 8 kB / 0.6476 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007524/1.438, allocations: 1.168 MB / 0.6488 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.438, allocations: 0 / 0.6488 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/1.439, allocations: 0.5177 MB / 0.6493 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/1.439, allocations: 120.9 kB / 0.6494 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/1.439, allocations: 0 / 0.6494 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/1.439, allocations: 11.98 kB / 0.6494 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.439, allocations: 11.98 kB / 0.6494 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/1.439, allocations: 12 kB / 0.6494 GB, free: 3.559 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001137/1.44, allocations: 124.2 kB / 0.6496 GB, free: 3.438 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.44, allocations: 0 / 0.6496 GB, free: 3.438 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008007/1.44, allocations: 199.5 kB / 0.6497 GB, free: 3.242 MB / 478.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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/1.442, allocations: 1.244 MB / 0.651 GB, free: 1.965 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/1.443, allocations: 0.5754 MB / 0.6515 GB, free: 1.367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.443, allocations: 0.75 kB / 0.6515 GB, free: 1.367 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006844/1.444, allocations: 476.1 kB / 0.652 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/1.445, allocations: 186.5 kB / 0.6522 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005651/1.451, allocations: 3.67 MB / 0.6557 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/1.451, allocations: 0.9504 MB / 0.6567 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005588/1.452, allocations: 215.9 kB / 0.6569 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/1.452, allocations: 275.3 kB / 0.6571 GB, free: 11.29 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/1.452, allocations: 7.938 kB / 0.6571 GB, free: 11.28 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05374/1.506, allocations: 18.53 MB / 0.6752 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.78, allocations: 15.55 kB / 0.6753 GB, free: 8.77 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.00441141007468] Failed to read output from testmodel.py, exit status != 0: 15.130248740315437 15.158966947 13.747074436 Calling exit ...