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.001476/0.001476, allocations: 105.4 kB / 15.98 MB, free: 6.352 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.001759/0.001759, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.294/1.294, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01176/0.01176, allocations: 2.765 MB / 293.5 MB, free: 12.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.91 kB / 354.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2479, allocations: 50.23 MB / 404.8 MB, free: 33.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.0372/0.2851, allocations: 50.36 MB / 455.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02517/0.3103, allocations: 28.88 MB / 484 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006892/0.3111, allocations: 4 kB / 484 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.3129, allocations: 0.5674 MB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006696/0.3196, allocations: 2.065 MB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009068/0.3287, allocations: 2.705 MB / 489.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.3302, allocations: 0.9287 MB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.3305, allocations: 57.75 kB / 490.4 MB, free: 11.27 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 1.168/1.498, allocations: 51.23 MB / 0.5289 GB, free: 26.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005832/1.499, allocations: 311.7 kB / 0.5292 GB, free: 26.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.566e-05/1.499, allocations: 42.97 kB / 0.5292 GB, free: 26.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.36/1.859, allocations: 27.03 MB / 0.5556 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/1.859, allocations: 114.9 kB / 0.5557 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003878/1.859, allocations: 339.1 kB / 0.5561 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/1.861, allocations: 1.374 MB / 0.5574 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.862, allocations: 0 / 0.5574 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/1.862, allocations: 4 kB / 0.5574 GB, free: 7.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/1.862, allocations: 0 / 0.5574 GB, free: 7.883 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.001276/1.863, allocations: 1.11 MB / 0.5585 GB, free: 6.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.863, allocations: 8.031 kB / 0.5585 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/1.865, allocations: 0.5013 MB / 0.559 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/1.865, allocations: 339.7 kB / 0.5593 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/1.865, allocations: 44.88 kB / 0.5594 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/1.865, allocations: 54.5 kB / 0.5594 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/1.866, allocations: 0.8723 MB / 0.5603 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.866, allocations: 3.094 kB / 0.5603 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/1.867, allocations: 22.94 kB / 0.5603 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/1.867, allocations: 34.92 kB / 0.5603 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/1.868, allocations: 0.7115 MB / 0.561 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/1.87, allocations: 5.121 MB / 0.566 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/1.871, allocations: 339.5 kB / 0.5663 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/1.871, allocations: 220.8 kB / 0.5665 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/1.873, allocations: 1.546 MB / 0.5681 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/1.873, allocations: 34.56 kB / 0.5681 GB, free: 14.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.264e-06/1.873, allocations: 0 / 0.5681 GB, free: 14.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=71): time 0.00143/1.874, allocations: 0.5996 MB / 0.5687 GB, free: 13.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/1.874, allocations: 85.11 kB / 0.5688 GB, free: 13.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/1.874, allocations: 183.8 kB / 0.5689 GB, free: 13.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/1.874, allocations: 27.45 kB / 0.569 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.875, allocations: 286.2 kB / 0.5692 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/1.875, allocations: 241.4 kB / 0.5695 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/1.875, allocations: 91.36 kB / 0.5695 GB, free: 12.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/1.875, allocations: 346.3 kB / 0.5699 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/1.875, allocations: 113.9 kB / 0.57 GB, free: 12.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/1.876, allocations: 308.7 kB / 0.5703 GB, free: 12.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/1.876, allocations: 491.1 kB / 0.5707 GB, free: 11.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.876, allocations: 0 / 0.5707 GB, free: 11.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007289/1.877, allocations: 485.6 kB / 0.5712 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.877, allocations: 15.31 kB / 0.5712 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.877, allocations: 8.656 kB / 0.5712 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.877, allocations: 8 kB / 0.5712 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/1.877, allocations: 86.95 kB / 0.5713 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006145/1.878, allocations: 1.173 MB / 0.5725 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/1.878, allocations: 83.31 kB / 0.5725 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/1.878, allocations: 27.81 kB / 0.5726 GB, free: 10.02 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.0002317/1.879, allocations: 184.8 kB / 0.5728 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/1.879, allocations: 27.62 kB / 0.5728 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/1.88, allocations: 1.35 MB / 0.5741 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001399/1.882, allocations: 1.141 MB / 0.5752 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.882, allocations: 0 / 0.5752 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/1.882, allocations: 3.984 kB / 0.5752 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/1.884, allocations: 2.508 MB / 0.5777 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.884, allocations: 0 / 0.5777 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/1.885, allocations: 116.4 kB / 0.5778 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003147/1.885, allocations: 298.7 kB / 0.5781 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.885, allocations: 11.44 kB / 0.5781 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007407/1.886, allocations: 1.267 MB / 0.5793 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.886, allocations: 4.188 kB / 0.5793 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/1.887, allocations: 1.158 MB / 0.5804 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/1.887, allocations: 144.2 kB / 0.5806 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/1.887, allocations: 15.38 kB / 0.5806 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/1.888, allocations: 91.45 kB / 0.5807 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/1.888, allocations: 39.58 kB / 0.5807 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/1.888, allocations: 19.86 kB / 0.5807 GB, free: 3.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001074/1.888, allocations: 128.1 kB / 0.5809 GB, free: 3.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.888, allocations: 0 / 0.5809 GB, free: 3.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007716/1.889, allocations: 222.5 kB / 0.5811 GB, free: 3.461 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: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005348/1.889, allocations: 324.2 kB / 0.5814 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/1.891, allocations: 0.8074 MB / 0.5822 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.891, allocations: 0 / 0.5822 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/1.891, allocations: 384 kB / 0.5825 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.893, allocations: 323.1 kB / 0.5828 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/1.895, allocations: 1.713 MB / 0.5845 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/1.896, allocations: 0.96 MB / 0.5855 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/1.896, allocations: 47.44 kB / 0.5855 GB, free: 15.46 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/1.896, allocations: 4 kB / 0.5855 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Templates: time 0.01851/1.914, allocations: 15.69 MB / 0.6008 GB, free: 15.97 MB / 430.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)