Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.001839/0.001839, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 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.00201/0.00201, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.01334/0.01334, allocations: 1.993 MB / 261.6 MB, free: 11.07 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: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 331.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.504e-05, allocations: 10.25 kB / 331.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.05617/0.0562, allocations: 52.14 MB / 383.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1882/0.2444, allocations: 29.57 MB / 413.3 MB, free: 16.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.245, allocations: 3.531 kB / 413.4 MB, free: 16.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.2465, allocations: 0.5146 MB / 413.9 MB, free: 16.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.2521, allocations: 2.27 MB / 416.1 MB, free: 16.02 MB / 330.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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.007578/0.2597, allocations: 2.991 MB / 419.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.2609, allocations: 0.9705 MB / 420.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.261, allocations: 30.62 kB / 420.1 MB, free: 14.98 MB / 330.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 1.271/1.532, allocations: 85.62 MB / 0.4939 GB, free: 1.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007467/1.533, allocations: 242.4 kB / 0.4941 GB, free: 1.105 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.25e-05/1.533, allocations: 40 kB / 0.4942 GB, free: 1.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3274/1.86, allocations: 44.14 MB / 0.5373 GB, free: 6.953 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/1.86, allocations: 121 kB / 0.5374 GB, free: 6.887 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000506/1.861, allocations: 226.6 kB / 0.5376 GB, free: 6.715 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005869/1.867, allocations: 1.904 MB / 0.5395 GB, free: 5.375 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.867, allocations: 0 / 0.5395 GB, free: 5.375 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.867, allocations: 0 / 0.5395 GB, free: 5.375 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/1.867, allocations: 0 / 0.5395 GB, free: 5.375 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.001587/1.868, allocations: 1.203 MB / 0.5406 GB, free: 4.301 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.868, allocations: 12.03 kB / 0.5406 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/1.871, allocations: 1.029 MB / 0.5416 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/1.871, allocations: 284.8 kB / 0.5419 GB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/1.871, allocations: 47.75 kB / 0.542 GB, free: 3.355 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/1.871, allocations: 53.81 kB / 0.542 GB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/1.873, allocations: 0.8944 MB / 0.5429 GB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/1.873, allocations: 2.906 kB / 0.5429 GB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/1.873, allocations: 31.31 kB / 0.5429 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/1.873, allocations: 34.41 kB / 0.543 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/1.874, allocations: 498.9 kB / 0.5434 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/1.877, allocations: 3.653 MB / 0.547 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/1.878, allocations: 278.5 kB / 0.5473 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/1.878, allocations: 155.5 kB / 0.5474 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/1.879, allocations: 1.074 MB / 0.5485 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.879, allocations: 36.67 kB / 0.5485 GB, free: 13.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 1.503e-06/1.879, allocations: 0 / 0.5485 GB, free: 13.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.001472/1.881, allocations: 0.6192 MB / 0.5491 GB, free: 13.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/1.881, allocations: 81.11 kB / 0.5492 GB, free: 13.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/1.881, allocations: 287.2 kB / 0.5495 GB, free: 12.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/1.881, allocations: 33.14 kB / 0.5495 GB, free: 12.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/1.882, allocations: 346.6 kB / 0.5498 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/1.882, allocations: 261.8 kB / 0.5501 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.882, allocations: 134.6 kB / 0.5502 GB, free: 12.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002951/1.882, allocations: 0.5391 MB / 0.5507 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/1.882, allocations: 108.9 kB / 0.5508 GB, free: 11.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/1.883, allocations: 374.8 kB / 0.5512 GB, free: 11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/1.884, allocations: 0.5374 MB / 0.5517 GB, free: 10.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/1.884, allocations: 4 kB / 0.5517 GB, free: 10.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008598/1.884, allocations: 495.2 kB / 0.5522 GB, free: 9.914 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/1.884, allocations: 8.719 kB / 0.5522 GB, free: 9.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.884, allocations: 8 kB / 0.5522 GB, free: 9.898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.884, allocations: 12 kB / 0.5522 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/1.885, allocations: 70.16 kB / 0.5523 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/1.885, allocations: 11.09 kB / 0.5523 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/1.885, allocations: 63.45 kB / 0.5523 GB, free: 9.754 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/1.885, allocations: 16 kB / 0.5524 GB, free: 9.738 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): 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.000283/1.885, allocations: 242.9 kB / 0.5526 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/1.885, allocations: 31.81 kB / 0.5526 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/1.885, allocations: 26.66 kB / 0.5527 GB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/1.885, allocations: 0 / 0.5527 GB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.885, allocations: 4 kB / 0.5527 GB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.885, allocations: 11.92 kB / 0.5527 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/1.886, allocations: 443.4 kB / 0.5531 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.886, allocations: 4 kB / 0.5531 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/1.886, allocations: 27.17 kB / 0.5531 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.886, allocations: 4 kB / 0.5531 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/1.886, allocations: 7.938 kB / 0.5531 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.886, allocations: 0 / 0.5531 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.886, allocations: 0 / 0.5531 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/1.887, allocations: 0.6303 MB / 0.5537 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/1.887, allocations: 39.62 kB / 0.5538 GB, free: 8.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/1.887, allocations: 8 kB / 0.5538 GB, free: 8.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/1.887, allocations: 11.98 kB / 0.5538 GB, free: 8.215 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/1.887, allocations: 14.95 kB / 0.5538 GB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/1.887, allocations: 15.98 kB / 0.5538 GB, free: 8.188 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001358/1.887, allocations: 171.1 kB / 0.554 GB, free: 8.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/1.887, allocations: 0 / 0.554 GB, free: 8.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006687/1.888, allocations: 195.5 kB / 0.5542 GB, free: 7.828 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): 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.000748/1.889, allocations: 297.4 kB / 0.5545 GB, free: 7.559 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008277/1.89, allocations: 0.5894 MB / 0.555 GB, free: 6.957 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.89, allocations: 3.281 kB / 0.555 GB, free: 6.957 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005443/1.89, allocations: 489 kB / 0.5555 GB, free: 6.406 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/1.891, allocations: 196.8 kB / 0.5557 GB, free: 6.215 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/1.893, allocations: 1.037 MB / 0.5567 GB, free: 5.152 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/1.893, allocations: 356.7 kB / 0.557 GB, free: 4.777 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004826/1.894, allocations: 257.2 kB / 0.5573 GB, free: 4.523 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.768e-05/1.894, allocations: 44.5 kB / 0.5573 GB, free: 4.48 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/1.894, allocations: 0 / 0.5573 GB, free: 4.48 MB / 442.7 MB Notification: Performance of Templates: time 0.1251/2.019, allocations: 10.69 MB / 0.5678 GB, free: 198.3 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.701568127027713]