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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 102 kB / 16.27 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001086, allocations: 192.2 kB / 17.2 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01192/0.01192, allocations: 2.769 MB / 293.8 MB, free: 12.08 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.91 kB / 355.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2183, allocations: 50.23 MB / 405.3 MB, free: 32.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.03612/0.2544, allocations: 50.75 MB / 456.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02709/0.2816, allocations: 29.1 MB / 485.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005291/0.2821, allocations: 4 kB / 485.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.2838, allocations: 0.6175 MB / 485.8 MB, free: 228 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005923/0.2898, allocations: 2.234 MB / 488 MB, free: 13.97 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.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.007705/0.2975, allocations: 2.932 MB / 491 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.2987, allocations: 0.9249 MB / 491.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2989, allocations: 57.75 kB / 491.9 MB, free: 10.03 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.7042/1.003, allocations: 51.25 MB / 0.5305 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/1.004, allocations: 303.6 kB / 0.5307 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.794e-05/1.004, allocations: 43.41 kB / 0.5308 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1538/1.157, allocations: 27.03 MB / 0.5572 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/1.158, allocations: 109.2 kB / 0.5573 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004042/1.158, allocations: 347.1 kB / 0.5576 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00509/1.163, allocations: 1.832 MB / 0.5594 GB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.163, allocations: 4 kB / 0.5594 GB, free: 5.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/1.163, allocations: 0 / 0.5594 GB, free: 5.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/1.163, allocations: 0 / 0.5594 GB, free: 5.516 MB / 382.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.001338/1.165, allocations: 1.105 MB / 0.5605 GB, free: 4.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.165, allocations: 8.031 kB / 0.5605 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/1.167, allocations: 0.5031 MB / 0.561 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/1.167, allocations: 332.8 kB / 0.5613 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005427/1.167, allocations: 45.69 kB / 0.5613 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/1.168, allocations: 57.25 kB / 0.5614 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/1.169, allocations: 0.8683 MB / 0.5622 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/1.169, allocations: 3.984 kB / 0.5623 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/1.169, allocations: 33.12 kB / 0.5623 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/1.169, allocations: 38.81 kB / 0.5623 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/1.17, allocations: 0.699 MB / 0.563 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/1.174, allocations: 5.155 MB / 0.568 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/1.174, allocations: 331.3 kB / 0.5684 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/1.175, allocations: 224.9 kB / 0.5686 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.176, allocations: 1.542 MB / 0.5701 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/1.176, allocations: 38.25 kB / 0.5701 GB, free: 11.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.004e-06/1.176, allocations: 0 / 0.5701 GB, free: 11.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=71): time 0.004511/1.18, allocations: 0.6033 MB / 0.5707 GB, free: 11.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.181, allocations: 81.11 kB / 0.5708 GB, free: 11.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/1.181, allocations: 182.6 kB / 0.5709 GB, free: 11.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.181, allocations: 29.52 kB / 0.571 GB, free: 10.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/1.181, allocations: 288.7 kB / 0.5713 GB, free: 10.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/1.181, allocations: 235.8 kB / 0.5715 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/1.181, allocations: 94.11 kB / 0.5716 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/1.181, allocations: 349.7 kB / 0.5719 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/1.182, allocations: 118.5 kB / 0.572 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/1.182, allocations: 299.7 kB / 0.5723 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/1.183, allocations: 494.8 kB / 0.5728 GB, free: 9.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.183, allocations: 0 / 0.5728 GB, free: 9.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007562/1.183, allocations: 485 kB / 0.5732 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.183, allocations: 12.09 kB / 0.5732 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.183, allocations: 11.94 kB / 0.5733 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/1.183, allocations: 8 kB / 0.5733 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/1.184, allocations: 87.98 kB / 0.5733 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006159/1.184, allocations: 1.177 MB / 0.5745 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/1.185, allocations: 62.95 kB / 0.5746 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/1.185, allocations: 19.81 kB / 0.5746 GB, free: 7.648 MB / 398.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.0002199/1.185, allocations: 191.5 kB / 0.5748 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/1.185, allocations: 27.62 kB / 0.5748 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/1.185, allocations: 29.7 kB / 0.5748 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/1.185, allocations: 4 kB / 0.5748 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.185, allocations: 3.938 kB / 0.5748 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.185, allocations: 4.094 kB / 0.5748 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005813/1.186, allocations: 488 kB / 0.5753 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.186, allocations: 0 / 0.5753 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/1.186, allocations: 47.44 kB / 0.5753 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.186, allocations: 192 / 0.5753 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/1.186, allocations: 7.875 kB / 0.5753 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005339/1.186, allocations: 1.174 MB / 0.5765 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.186, allocations: 0 / 0.5765 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/1.187, allocations: 0.5143 MB / 0.577 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/1.187, allocations: 116.5 kB / 0.5771 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/1.187, allocations: 11.83 kB / 0.5771 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/1.187, allocations: 7.812 kB / 0.5771 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/1.187, allocations: 11.98 kB / 0.5771 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/1.187, allocations: 11.94 kB / 0.5771 GB, free: 5.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001127/1.188, allocations: 123.9 kB / 0.5773 GB, free: 5.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.188, allocations: 0 / 0.5773 GB, free: 5.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006686/1.188, allocations: 198.7 kB / 0.5775 GB, free: 4.922 MB / 398.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.000505/1.189, allocations: 300.6 kB / 0.5777 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009523/1.19, allocations: 0.627 MB / 0.5784 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.19, allocations: 0 / 0.5784 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006277/1.19, allocations: 0.5173 MB / 0.5789 GB, free: 3.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.192, allocations: 190 kB / 0.579 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/1.193, allocations: 1.134 MB / 0.5801 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/1.194, allocations: 0.9504 MB / 0.5811 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/1.194, allocations: 47.12 kB / 0.5811 GB, free: 1.477 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/1.194, allocations: 0 / 0.5811 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Templates: time 0.01915/1.213, allocations: 16.32 MB / 0.5971 GB, free: 1.348 MB / 414.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1)