Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001788/0.001788, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01145/0.01145, allocations: 2.777 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.89 kB / 406.6 MB, free: 29.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07337/0.07457, allocations: 50.23 MB / 456.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.009219/0.08382, allocations: 9.011 MB / 465.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007037/0.09088, allocations: 8.567 MB / 474.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.09098, allocations: 4 kB / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.09146, allocations: 155.1 kB / 474.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.09175, allocations: 107.3 kB / 474.7 MB, free: 8.852 MB / 350.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.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.09449, allocations: 1.455 MB / 476.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.09484, allocations: 266.8 kB / 476.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.09491, allocations: 17.67 kB / 476.4 MB, free: 7.113 MB / 350.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.3021/0.397, allocations: 13.02 MB / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.3972, allocations: 83.62 kB / 489.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3973, allocations: 8 kB / 489.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.399, allocations: 475.9 kB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.3991, allocations: 39.83 kB / 490 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3992, allocations: 83.61 kB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.4004, allocations: 0.5024 MB / 490.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4004, allocations: 4 kB / 490.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4004, allocations: 0 / 490.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.4004, allocations: 0 / 490.6 MB, free: 10.06 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007948/0.4012, allocations: 0.568 MB / 491.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4013, allocations: 12.03 kB / 491.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.4016, allocations: 60.75 kB / 491.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.4018, allocations: 204.1 kB / 491.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.4019, allocations: 4.375 kB / 491.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.4019, allocations: 19.92 kB / 491.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.4024, allocations: 235.1 kB / 491.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4025, allocations: 7.984 kB / 491.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.4025, allocations: 8 kB / 491.7 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4025, allocations: 8 kB / 491.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.403, allocations: 196.3 kB / 491.9 MB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008032/0.4038, allocations: 0.6864 MB / 492.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.4043, allocations: 226.4 kB / 492.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.4046, allocations: 149.1 kB / 493 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.4049, allocations: 331.2 kB / 493.3 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.4049, allocations: 38.56 kB / 493.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.976e-06/0.4049, allocations: 0 / 493.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002807/0.4077, allocations: 1.229 MB / 494.6 MB, free: 5.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.4078, allocations: 51.41 kB / 494.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4079, allocations: 125.8 kB / 494.7 MB, free: 5.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4079, allocations: 29.7 kB / 494.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.408, allocations: 112.9 kB / 494.9 MB, free: 5.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4081, allocations: 166.5 kB / 495 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.4082, allocations: 57.69 kB / 495.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4083, allocations: 330.8 kB / 495.4 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.4085, allocations: 120.5 kB / 495.5 MB, free: 4.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.4088, allocations: 197.2 kB / 495.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.4094, allocations: 348.8 kB / 496.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4094, allocations: 0 / 496.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001109/0.4105, allocations: 481.8 kB / 496.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4105, allocations: 8 kB / 496.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4105, allocations: 0 / 496.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007334/0.4113, allocations: 148.8 kB / 496.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.4114, allocations: 35.91 kB / 496.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005904/0.412, allocations: 0.6499 MB / 497.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.4122, allocations: 16.03 kB / 497.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.4122, allocations: 8 kB / 497.4 MB, free: 2.852 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.4124, allocations: 130.5 kB / 497.5 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.4124, allocations: 19.89 kB / 497.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.861e-05/0.4125, allocations: 26.22 kB / 497.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4125, allocations: 0 / 497.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4125, allocations: 0 / 497.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.4126, allocations: 96.97 kB / 497.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.4126, allocations: 4 kB / 497.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.4128, allocations: 15.92 kB / 497.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.4128, allocations: 19.97 kB / 497.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009316/0.4138, allocations: 457.7 kB / 498.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009103/0.4147, allocations: 0.654 MB / 498.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000264/0.415, allocations: 162.9 kB / 499 MB, free: 1.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.415, allocations: 99.91 kB / 499.1 MB, free: 1.129 MB / 366.1 MB Notification: Performance of Backend: time 4.41e-07/0.415, allocations: 0 / 499.1 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.4165, allocations: 0.6171 MB / 499.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of SimCode: time 0.001024/0.4175, allocations: 1.012 MB / 0.489 GB, free: 15.45 MB / 382.1 MB Notification: Performance of Templates: time 0.01228/0.4298, allocations: 7.423 MB / 0.4962 GB, free: 8.023 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)