Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 106.2 kB / 16.41 MB, free: 6.387 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.001742/0.001742, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01153/0.01153, allocations: 2.777 MB / 294 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.83 kB / 406.6 MB, free: 29.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07225/0.0735, allocations: 50.22 MB / 456.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.00954/0.08307, allocations: 9.003 MB / 465.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.09009, allocations: 8.575 MB / 474.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.09023, allocations: 0 / 474.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.09073, allocations: 159 kB / 474.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.09108, allocations: 103.3 kB / 474.7 MB, free: 8.859 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.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.09414, allocations: 1.467 MB / 476.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.09451, allocations: 266.7 kB / 476.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.09456, allocations: 13.69 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.09376/0.1883, allocations: 12.85 MB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1885, allocations: 87.56 kB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.1886, allocations: 11.94 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.1906, allocations: 475.9 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.1907, allocations: 23.92 kB / 489.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1909, allocations: 99.52 kB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.1924, allocations: 0.5024 MB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1924, allocations: 0 / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1924, allocations: 0 / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1924, allocations: 4 kB / 490.5 MB, free: 10.22 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.0008685/0.1933, allocations: 0.5526 MB / 491 MB, free: 9.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1934, allocations: 8.031 kB / 491 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003748/0.1937, allocations: 64.75 kB / 491.1 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.194, allocations: 212 kB / 491.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.194, allocations: 8.375 kB / 491.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1941, allocations: 15.94 kB / 491.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.1946, allocations: 234.8 kB / 491.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1946, allocations: 0 / 491.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.1946, allocations: 12 kB / 491.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.1947, allocations: 11.98 kB / 491.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.1952, allocations: 196.2 kB / 491.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.196, allocations: 0.6825 MB / 492.4 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.1965, allocations: 226.4 kB / 492.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.1968, allocations: 157.1 kB / 492.8 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.1971, allocations: 331.2 kB / 493.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1971, allocations: 42.56 kB / 493.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/0.1971, allocations: 4 kB / 493.2 MB, free: 7.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002996/0.2001, allocations: 1.214 MB / 494.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.2002, allocations: 55.41 kB / 494.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2003, allocations: 133.9 kB / 494.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2003, allocations: 25.7 kB / 494.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.2004, allocations: 112.9 kB / 494.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.2005, allocations: 166.5 kB / 494.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.2006, allocations: 57.7 kB / 494.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2007, allocations: 330.8 kB / 495.3 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.201, allocations: 124.5 kB / 495.4 MB, free: 4.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.2013, allocations: 197.2 kB / 495.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.2018, allocations: 348.7 kB / 495.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2018, allocations: 0 / 495.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001124/0.2029, allocations: 477.8 kB / 496.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.203, allocations: 11.94 kB / 496.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.203, allocations: 0 / 496.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/0.2037, allocations: 152.8 kB / 496.5 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.2039, allocations: 27.98 kB / 496.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006087/0.2045, allocations: 0.6577 MB / 497.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.2047, allocations: 8.031 kB / 497.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.2047, allocations: 12 kB / 497.2 MB, free: 3.02 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.0001172/0.2048, allocations: 134.4 kB / 497.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.2049, allocations: 15.91 kB / 497.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.205, allocations: 22.22 kB / 497.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.205, allocations: 3.984 kB / 497.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.205, allocations: 4 kB / 497.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.205, allocations: 96.97 kB / 497.5 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2051, allocations: 4 kB / 497.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.2052, allocations: 11.98 kB / 497.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.2053, allocations: 19.97 kB / 497.6 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001245/0.2066, allocations: 461.6 kB / 498 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009041/0.2075, allocations: 0.6502 MB / 498.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002695/0.2078, allocations: 152.4 kB / 498.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.95e-05/0.2078, allocations: 99.2 kB / 498.9 MB, free: 1.305 MB / 366.1 MB Notification: Performance of Backend: time 4.91e-07/0.2078, allocations: 0 / 498.9 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.2093, allocations: 0.6277 MB / 499.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of SimCode: time 0.0011/0.2104, allocations: 1.02 MB / 0.4888 GB, free: 15.61 MB / 382.1 MB Notification: Performance of Templates: time 0.0127/0.2232, allocations: 7.404 MB / 0.496 GB, free: 8.199 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1)