Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Error: Unknown debug flag newInst. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 77.38 kB / 5.957 MB, free: 1.863 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002428, allocations: 448.2 kB / 6.394 MB, free: 1.422 MB / 7.832 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008001/0.0008001, allocations: 145.9 kB / 7.29 MB, free: 0.5273 MB / 7.832 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009911/0.001791, allocations: 471.7 kB / 7.75 MB, free: 68 kB / 7.832 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9759/0.9759, allocations: 177.2 MB / 185.7 MB, free: 9.199 MB / 186.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07174/1.048, allocations: 53.66 MB / 239.4 MB, free: 3.461 MB / 234.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.008602/0.008602, allocations: 2.084 MB / 242.2 MB, free: 0.6328 MB / 234.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002095/0.0107, allocations: 1.274 MB / 243.5 MB, free: 15.36 MB / 250.8 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 244.8 MB, free: 14.06 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.185e-06/9.658e-06, allocations: 6.312 kB / 244.8 MB, free: 14.05 MB / 250.8 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical): time 0.008976/0.008986, allocations: 12.32 MB / 257.1 MB, free: 1.688 MB / 250.8 MB Notification: Performance of NFInst.instExpressions: time 0.007962/0.01695, allocations: 12.16 MB / 269.3 MB, free: 5.48 MB / 266.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.01715, allocations: 4 kB / 269.3 MB, free: 5.477 MB / 266.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000435/0.01759, allocations: 218.4 kB / 269.5 MB, free: 5.262 MB / 266.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.01982, allocations: 1.252 MB / 270.7 MB, free: 4 MB / 266.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.0227, allocations: 1.294 MB / 272 MB, free: 2.699 MB / 266.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007697/0.02347, allocations: 0.9867 MB / 273 MB, free: 1.707 MB / 266.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.02356, allocations: 29.95 kB / 273 MB, free: 1.676 MB / 266.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Common/CheckCoolPropOptions.mo:2:1-108: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.897/0.9205, allocations: 33.7 MB / 306.7 MB, free: 5.766 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.9209, allocations: 245.3 kB / 307 MB, free: 5.766 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.921, allocations: 40.47 kB / 307 MB, free: 5.766 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.9232, allocations: 0.704 MB / 307.7 MB, free: 5.766 MB / 282.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.SaturationProperties is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropSVDSBTL.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.9234, allocations: 87.3 kB / 307.8 MB, free: 5.766 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.9236, allocations: 196.6 kB / 308 MB, free: 5.766 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.926, allocations: 0.9029 MB / 308.9 MB, free: 5.723 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.761e-05/0.926, allocations: 0.8906 kB / 308.9 MB, free: 5.723 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.973e-06/0.926, allocations: 0 / 308.9 MB, free: 5.723 MB / 282.8 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.9261, allocations: 0 / 308.9 MB, free: 5.723 MB / 282.8 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.001461/0.9275, allocations: 1.097 MB / 310 MB, free: 5.176 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.9276, allocations: 12.3 kB / 310 MB, free: 5.172 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.9292, allocations: 1.05 MB / 311.1 MB, free: 5.078 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.9296, allocations: 216.8 kB / 311.3 MB, free: 4.906 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.9296, allocations: 43.31 kB / 311.3 MB, free: 4.883 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.9297, allocations: 58.5 kB / 311.4 MB, free: 4.844 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.9305, allocations: 0.7064 MB / 312.1 MB, free: 4.289 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.9305, allocations: 4 kB / 312.1 MB, free: 4.285 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.9305, allocations: 27.5 kB / 312.1 MB, free: 4.277 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.9305, allocations: 31.36 kB / 312.1 MB, free: 4.262 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.931, allocations: 297.2 kB / 312.4 MB, free: 4.043 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.9332, allocations: 2.25 MB / 314.7 MB, free: 2.199 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.9336, allocations: 180.9 kB / 314.8 MB, free: 2.047 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.9336, allocations: 67.73 kB / 314.9 MB, free: 1.98 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007609/0.9344, allocations: 0.6725 MB / 315.6 MB, free: 1.445 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.9344, allocations: 48.86 kB / 315.6 MB, free: 1.395 MB / 282.8 MB Notification: Performance of pre-optimization done (n=74): time 2.414e-06/0.9344, allocations: 0 / 315.6 MB, free: 1.395 MB / 282.8 MB Notification: Performance of matching and sorting (n=74): time 0.0007883/0.9352, allocations: 447.8 kB / 316.1 MB, free: 1.043 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.9353, allocations: 84.92 kB / 316.2 MB, free: 0.9453 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.9354, allocations: 182.6 kB / 316.3 MB, free: 0.7852 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.9355, allocations: 33.64 kB / 316.4 MB, free: 0.75 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.9356, allocations: 278.5 kB / 316.6 MB, free: 0.5195 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.9358, allocations: 254.6 kB / 316.9 MB, free: 328 kB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.9359, allocations: 93.2 kB / 317 MB, free: 268 kB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.936, allocations: 352.2 kB / 317.3 MB, free: 15.93 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.9361, allocations: 41.11 kB / 317.4 MB, free: 15.9 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.9362, allocations: 216.4 kB / 317.6 MB, free: 15.66 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.9365, allocations: 343.7 kB / 317.9 MB, free: 15.33 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9365, allocations: 4 kB / 317.9 MB, free: 15.33 MB / 298.8 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000331/0.9368, allocations: 303.3 kB / 318.2 MB, free: 15.1 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.9369, allocations: 8 kB / 318.2 MB, free: 15.09 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.9369, allocations: 4 kB / 318.2 MB, free: 15.09 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.9369, allocations: 8 kB / 318.2 MB, free: 15.08 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.9371, allocations: 75.52 kB / 318.3 MB, free: 15.03 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.9371, allocations: 8 kB / 318.3 MB, free: 15.02 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.9373, allocations: 56.56 kB / 318.4 MB, free: 14.97 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.9373, allocations: 17.16 kB / 318.4 MB, free: 14.96 MB / 298.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.9374, allocations: 142.5 kB / 318.5 MB, free: 14.82 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.9375, allocations: 21.8 kB / 318.5 MB, free: 14.81 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/0.9381, allocations: 0.7192 MB / 319.3 MB, free: 14.16 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003536/0.9385, allocations: 481 kB / 319.7 MB, free: 13.76 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9385, allocations: 0 / 319.7 MB, free: 13.76 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.9385, allocations: 7.703 kB / 319.7 MB, free: 13.75 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.9398, allocations: 1.473 MB / 321.2 MB, free: 12.59 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9398, allocations: 0 / 321.2 MB, free: 12.59 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.94, allocations: 131.2 kB / 321.3 MB, free: 12.48 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.9401, allocations: 65.75 kB / 321.4 MB, free: 12.42 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.9401, allocations: 4 kB / 321.4 MB, free: 12.41 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.9401, allocations: 11.69 kB / 321.4 MB, free: 12.41 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.9401, allocations: 5.75 kB / 321.4 MB, free: 12.41 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.9401, allocations: 4 kB / 321.4 MB, free: 12.41 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.9406, allocations: 0.6883 MB / 322.1 MB, free: 11.79 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.9406, allocations: 15.69 kB / 322.1 MB, free: 11.79 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.9408, allocations: 14.56 kB / 322.1 MB, free: 11.78 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.9408, allocations: 50.86 kB / 322.2 MB, free: 11.77 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.9409, allocations: 18.12 kB / 322.2 MB, free: 11.75 MB / 298.8 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.9409, allocations: 32.56 kB / 322.2 MB, free: 11.73 MB / 298.8 MB Notification: Performance of sort global known variables: time 6e-08/0.9409, allocations: 0 / 322.2 MB, free: 11.73 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0005803/0.9415, allocations: 218.8 kB / 322.5 MB, free: 11.53 MB / 298.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005837/0.9421, allocations: 210 kB / 322.7 MB, free: 11.36 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.9427, allocations: 0.5118 MB / 323.2 MB, free: 10.91 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/0.9427, allocations: 4 kB / 323.2 MB, free: 10.91 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.943, allocations: 293.1 kB / 323.5 MB, free: 10.71 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000923/0.9439, allocations: 480.1 kB / 323.9 MB, free: 10.36 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/0.9504, allocations: 1.223 MB / 325.2 MB, free: 9.23 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.9506, allocations: 174.6 kB / 325.3 MB, free: 9.035 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.000346/0.9509, allocations: 121.2 kB / 325.4 MB, free: 8.914 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.9513, allocations: 267.3 kB / 325.7 MB, free: 8.664 MB / 298.8 MB Notification: Performance of SimCode: time 1.563e-06/0.9513, allocations: 0 / 325.7 MB, free: 8.664 MB / 298.8 MB Notification: Performance of Templates: time 0.01596/0.9673, allocations: 14.26 MB / 340 MB, free: 10.72 MB / 314.8 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.546385310590267]