Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.001114/0.001114, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001296/0.001296, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9175/0.9175, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.009223/0.009223, allocations: 1.977 MB / 261.2 MB, free: 11.27 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.851e-05, allocations: 2.281 kB / 384.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.2155/0.2155, allocations: 45.18 MB / 429.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.2294, allocations: 25.15 MB / 455 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003785/0.2298, allocations: 6.812 kB / 455 MB, free: 12.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.2312, allocations: 0.5134 MB / 455.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00465/0.2358, allocations: 2.266 MB / 457.8 MB, free: 10.4 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.007164/0.243, allocations: 2.991 MB / 460.8 MB, free: 7.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009357/0.2439, allocations: 0.9801 MB / 461.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.244, allocations: 24.22 kB / 461.8 MB, free: 7.352 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.6077/0.8517, allocations: 51.49 MB / 0.5012 GB, free: 5.945 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006828/0.8524, allocations: 243.4 kB / 0.5015 GB, free: 5.707 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.737e-05/0.8525, allocations: 44 kB / 0.5015 GB, free: 5.664 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07385/0.9263, allocations: 27.06 MB / 0.5279 GB, free: 10.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.9265, allocations: 111.5 kB / 0.528 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.9269, allocations: 231.5 kB / 0.5283 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.9317, allocations: 1.913 MB / 0.5301 GB, free: 8.176 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9317, allocations: 0 / 0.5301 GB, free: 8.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.9317, allocations: 3.984 kB / 0.5301 GB, free: 8.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.9317, allocations: 0 / 0.5301 GB, free: 8.172 MB / 426.7 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.001146/0.9328, allocations: 1.037 MB / 0.5311 GB, free: 7.102 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.9329, allocations: 12.03 kB / 0.5312 GB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.003e-05/0.933, allocations: 115 kB / 0.5313 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.934, allocations: 0.5078 MB / 0.5318 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.9344, allocations: 280.8 kB / 0.532 GB, free: 6.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.9344, allocations: 45.69 kB / 0.5321 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.9345, allocations: 52.38 kB / 0.5321 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009582/0.9354, allocations: 0.9854 MB / 0.5331 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.9354, allocations: 3.938 kB / 0.5331 GB, free: 5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.9355, allocations: 28 kB / 0.5331 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.9355, allocations: 31.98 kB / 0.5332 GB, free: 4.941 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.9362, allocations: 0.7123 MB / 0.5338 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.9383, allocations: 2.773 MB / 0.5366 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.9387, allocations: 282.8 kB / 0.5368 GB, free: 1.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.9388, allocations: 158.3 kB / 0.537 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008305/0.9397, allocations: 0.8816 MB / 0.5378 GB, free: 8 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.9397, allocations: 34.56 kB / 0.5379 GB, free: 15.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 1.703e-06/0.9397, allocations: 0 / 0.5379 GB, free: 15.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008466/0.9405, allocations: 0.6053 MB / 0.5385 GB, free: 15.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.9406, allocations: 85.05 kB / 0.5385 GB, free: 15.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.9407, allocations: 194.6 kB / 0.5387 GB, free: 15.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.9407, allocations: 29.7 kB / 0.5388 GB, free: 15.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.9408, allocations: 292.4 kB / 0.539 GB, free: 14.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.9409, allocations: 245.8 kB / 0.5393 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.941, allocations: 93.95 kB / 0.5394 GB, free: 14.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.9411, allocations: 342.8 kB / 0.5397 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.9412, allocations: 121.3 kB / 0.5398 GB, free: 13.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.9414, allocations: 307.9 kB / 0.5401 GB, free: 13.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.942, allocations: 476.8 kB / 0.5405 GB, free: 13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.942, allocations: 11.94 kB / 0.5406 GB, free: 12.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000455/0.9424, allocations: 488.7 kB / 0.541 GB, free: 12.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.9424, allocations: 8 kB / 0.541 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.9425, allocations: 4 kB / 0.541 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.9425, allocations: 8 kB / 0.541 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.9427, allocations: 91.95 kB / 0.5411 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004171/0.9431, allocations: 1.18 MB / 0.5423 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.9432, allocations: 63.52 kB / 0.5423 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.9433, allocations: 27.92 kB / 0.5424 GB, free: 11.08 MB / 442.7 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.0001576/0.9434, allocations: 192.1 kB / 0.5426 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.9434, allocations: 27.81 kB / 0.5426 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.9435, allocations: 34.64 kB / 0.5426 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9435, allocations: 0 / 0.5426 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.9435, allocations: 4 kB / 0.5426 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.9435, allocations: 0 / 0.5426 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.9439, allocations: 448 kB / 0.543 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9439, allocations: 0 / 0.543 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/0.944, allocations: 43.97 kB / 0.5431 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.944, allocations: 0 / 0.5431 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.944, allocations: 4 kB / 0.5431 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003416/0.9443, allocations: 1.18 MB / 0.5442 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9443, allocations: 0 / 0.5442 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.9447, allocations: 0.5139 MB / 0.5447 GB, free: 8.535 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.9447, allocations: 39.81 kB / 0.5448 GB, free: 8.496 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.9447, allocations: 4 kB / 0.5448 GB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.9448, allocations: 4 kB / 0.5448 GB, free: 8.488 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.9449, allocations: 19.97 kB / 0.5448 GB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.9449, allocations: 8 kB / 0.5448 GB, free: 8.461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.925e-05/0.9449, allocations: 123.2 kB / 0.5449 GB, free: 8.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.9449, allocations: 0 / 0.5449 GB, free: 8.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004646/0.9454, allocations: 195.5 kB / 0.5451 GB, free: 8.148 MB / 442.7 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.0009092/0.9463, allocations: 1.259 MB / 0.5464 GB, free: 6.859 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.9469, allocations: 0.5686 MB / 0.5469 GB, free: 6.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9469, allocations: 0 / 0.5469 GB, free: 6.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.9472, allocations: 480.2 kB / 0.5474 GB, free: 5.723 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.9478, allocations: 195.6 kB / 0.5476 GB, free: 5.535 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.9508, allocations: 3.634 MB / 0.5511 GB, free: 1.664 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.951, allocations: 348.8 kB / 0.5514 GB, free: 1.297 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003367/0.9514, allocations: 223.8 kB / 0.5516 GB, free: 1.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.9516, allocations: 272.4 kB / 0.5519 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of SimCode: time 9.51e-07/0.9516, allocations: 0 / 0.5519 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.982, allocations: 19.43 MB / 0.5709 GB, free: 13.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.91, allocations: 7.266 kB / 0.5709 GB, free: 13.4 MB / 474.7 MB " [Timeout remaining time 651] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.988909961655736] Failed to read output from testmodel.py, exit status != 0: 9.253130945377052 9.400320658 8.328978364 Calling exit ...