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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 249.4 MB, free: 3.273 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01153/0.01153, allocations: 2.8 MB / 307.3 MB, free: 3.176 MB / 238.1 MB " [Timeout remaining time 180] 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=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.89 kB / 428.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 52.95 MB / 481.3 MB, free: 27.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.008126/0.3129, allocations: 9.104 MB / 490.4 MB, free: 20.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006148/0.319, allocations: 8.6 MB / 499 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.3192, allocations: 1.625 kB / 499 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005698/0.3198, allocations: 159.1 kB / 499.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.3202, allocations: 101.6 kB / 499.3 MB, free: 14.26 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.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.004244/0.3244, allocations: 1.464 MB / 0.489 GB, free: 13.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004678/0.3249, allocations: 277.1 kB / 0.4892 GB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.886e-05/0.3249, allocations: 15.92 kB / 0.4893 GB, free: 13.25 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.3614/0.6863, allocations: 13.04 MB / 0.502 GB, free: 7.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.6866, allocations: 87.59 kB / 0.5021 GB, free: 7.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.6866, allocations: 8.125 kB / 0.5021 GB, free: 7.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.689, allocations: 476.3 kB / 0.5025 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.6891, allocations: 30.28 kB / 0.5026 GB, free: 7.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.6893, allocations: 93.11 kB / 0.5027 GB, free: 7.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.6907, allocations: 0.514 MB / 0.5032 GB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.6907, allocations: 0 / 0.5032 GB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6907, allocations: 1.125 kB / 0.5032 GB, free: 6.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.6907, allocations: 0 / 0.5032 GB, free: 6.836 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.0008045/0.6915, allocations: 0.5578 MB / 0.5037 GB, free: 6.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6915, allocations: 9.969 kB / 0.5037 GB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.6919, allocations: 60.58 kB / 0.5038 GB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.6921, allocations: 206.9 kB / 0.504 GB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.6921, allocations: 10.28 kB / 0.504 GB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.6922, allocations: 14.94 kB / 0.504 GB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.6927, allocations: 239.6 kB / 0.5042 GB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.6927, allocations: 6 kB / 0.5042 GB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.6927, allocations: 13.34 kB / 0.5042 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.6928, allocations: 13.14 kB / 0.5043 GB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/0.6933, allocations: 200.9 kB / 0.5044 GB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.694, allocations: 0.6752 MB / 0.5051 GB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.6945, allocations: 208.7 kB / 0.5053 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.6947, allocations: 129.7 kB / 0.5054 GB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.695, allocations: 324.2 kB / 0.5057 GB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.695, allocations: 45.28 kB / 0.5058 GB, free: 4.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.695, allocations: 0 / 0.5058 GB, free: 4.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002992/0.698, allocations: 1.219 MB / 0.507 GB, free: 4.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.698, allocations: 54.83 kB / 0.507 GB, free: 4.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.6981, allocations: 127.7 kB / 0.5071 GB, free: 4.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.6981, allocations: 30.83 kB / 0.5072 GB, free: 3.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.6982, allocations: 107.6 kB / 0.5073 GB, free: 3.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.6983, allocations: 170.8 kB / 0.5074 GB, free: 3.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.6984, allocations: 59.58 kB / 0.5075 GB, free: 3.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.6985, allocations: 330 kB / 0.5078 GB, free: 3.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.6988, allocations: 127.3 kB / 0.5079 GB, free: 3.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.6991, allocations: 189.3 kB / 0.5081 GB, free: 3.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/0.6997, allocations: 345.1 kB / 0.5084 GB, free: 3.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6997, allocations: 0 / 0.5084 GB, free: 3.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001232/0.7009, allocations: 480.5 kB / 0.5089 GB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.7009, allocations: 5.406 kB / 0.5089 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7009, allocations: 2.188 kB / 0.5089 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008/0.7017, allocations: 145.4 kB / 0.509 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.7019, allocations: 35.88 kB / 0.5091 GB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000574/0.7024, allocations: 0.6519 MB / 0.5097 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.7026, allocations: 12.86 kB / 0.5097 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.7026, allocations: 10.78 kB / 0.5097 GB, free: 2.219 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.000122/0.7027, allocations: 135.9 kB / 0.5099 GB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.7028, allocations: 24.28 kB / 0.5099 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.7029, allocations: 29.84 kB / 0.5099 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.7029, allocations: 13.67 kB / 0.5099 GB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.7029, allocations: 1.094 kB / 0.5099 GB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.7029, allocations: 1.406 kB / 0.5099 GB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.7032, allocations: 295.6 kB / 0.5102 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7032, allocations: 0 / 0.5102 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.7034, allocations: 35.48 kB / 0.5103 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/0.7038, allocations: 72.67 kB / 0.5103 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.7038, allocations: 11.36 kB / 0.5103 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.705, allocations: 1.551 MB / 0.5118 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.705, allocations: 8.078 kB / 0.5119 GB, free: 152 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.7061, allocations: 0.6946 MB / 0.5125 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.7062, allocations: 98.45 kB / 0.5126 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.7062, allocations: 5.375 kB / 0.5126 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.7064, allocations: 13.56 kB / 0.5126 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.7065, allocations: 20.16 kB / 0.5127 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.7065, allocations: 13.48 kB / 0.5127 GB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.614e-05/0.7066, allocations: 94.27 kB / 0.5128 GB, free: 15.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7066, allocations: 0 / 0.5128 GB, free: 15.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.707, allocations: 66.94 kB / 0.5128 GB, free: 15.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004902/0.7075, allocations: 175.5 kB / 0.513 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009002/0.7084, allocations: 332.9 kB / 0.5133 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7084, allocations: 4 kB / 0.5133 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.709, allocations: 296.8 kB / 0.5136 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.7097, allocations: 94.2 kB / 0.5137 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.7114, allocations: 0.6683 MB / 0.5143 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.7119, allocations: 0.7364 MB / 0.5151 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.7123, allocations: 113.3 kB / 0.5152 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.7123, allocations: 17.69 kB / 0.5152 GB, free: 13.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7123, allocations: 0 / 0.5152 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01216/0.7245, allocations: 5.442 MB / 0.5205 GB, free: 9.449 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.589549615047872]