Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006931/0.0006931, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000944/0.001637, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006869/0.0006869, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009428/0.00163, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9096/0.9096, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07798/0.9876, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.006889/0.006889, allocations: 1.993 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001701/0.008591, allocations: 1.23 MB / 247.4 MB, free: 11.54 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 248.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.434e-06/8.546e-06, allocations: 6.312 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.006949/0.006957, allocations: 9.664 MB / 258.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.008846, allocations: 3.188 MB / 261.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.008906, allocations: 4 kB / 261.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.009075, allocations: 99.31 kB / 261.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.01014, allocations: 0.6981 MB / 262.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.01045, allocations: 103.2 kB / 262.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.01069, allocations: 337.5 kB / 262.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.01073, allocations: 18.91 kB / 262.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.01083, allocations: 139.6 kB / 262.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.01093, allocations: 87.75 kB / 263 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.01095, allocations: 8 kB / 263 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7836/0.7946, allocations: 21.84 MB / 284.9 MB, free: 12.22 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolPropTabular.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 5.106e-05/0.7946, allocations: 22.25 kB / 284.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.7948, allocations: 83.25 kB / 285 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007849/0.7956, allocations: 324.6 kB / 285.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.7956, allocations: 5.125 kB / 285.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7956, allocations: 0 / 285.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.7956, allocations: 0 / 285.3 MB, free: 12.22 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0004434/0.796, allocations: 0.4983 MB / 285.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.796, allocations: 10.47 kB / 285.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000651/0.7967, allocations: 0.5073 MB / 286.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.803e-05/0.7968, allocations: 131.9 kB / 286.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.7968, allocations: 18.12 kB / 286.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.7968, allocations: 24 kB / 286.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.797, allocations: 218.5 kB / 286.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.797, allocations: 1.125 kB / 286.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.7971, allocations: 14.09 kB / 286.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.7971, allocations: 10.67 kB / 286.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.7972, allocations: 102.9 kB / 286.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.7978, allocations: 0.6544 MB / 287.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.696e-05/0.7978, allocations: 64.88 kB / 287.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.7979, allocations: 40.62 kB / 287.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/0.7981, allocations: 460.1 kB / 288 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.7982, allocations: 37.45 kB / 288 MB, free: 10.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.7982, allocations: 0 / 288 MB, free: 10.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002015/0.7984, allocations: 132.3 kB / 288.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.7984, allocations: 78.58 kB / 288.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.7984, allocations: 115 kB / 288.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.7985, allocations: 30.22 kB / 288.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.7985, allocations: 159.1 kB / 288.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.7986, allocations: 108.6 kB / 288.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.7986, allocations: 41.67 kB / 288.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.5e-05/0.7987, allocations: 324.2 kB / 289 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.7987, allocations: 17.73 kB / 289 MB, free: 9.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/0.7987, allocations: 59.94 kB / 289.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.28e-05/0.7988, allocations: 113.4 kB / 289.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7988, allocations: 1.031 kB / 289.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001147/0.7989, allocations: 115.2 kB / 289.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7989, allocations: 9.375 kB / 289.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.7989, allocations: 2.062 kB / 289.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7989, allocations: 3.156 kB / 289.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.799, allocations: 14.97 kB / 289.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.799, allocations: 1.797 kB / 289.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.799, allocations: 16.23 kB / 289.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.7991, allocations: 12.36 kB / 289.4 MB, free: 9.816 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 4.772e-05/0.7991, allocations: 111.7 kB / 289.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.7991, allocations: 10.14 kB / 289.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.7991, allocations: 9.703 kB / 289.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7991, allocations: 2.266 kB / 289.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.7992, allocations: 3.75 kB / 289.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7992, allocations: 1.156 kB / 289.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.7993, allocations: 132.2 kB / 289.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.7993, allocations: 0 / 289.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/0.7993, allocations: 4.766 kB / 289.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.7993, allocations: 21.3 kB / 289.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7993, allocations: 1.438 kB / 289.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.7993, allocations: 5.859 kB / 289.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7993, allocations: 0.9688 kB / 289.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7993, allocations: 0 / 289.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.7995, allocations: 269.5 kB / 289.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.7995, allocations: 2.406 kB / 289.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.7995, allocations: 7.406 kB / 289.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.7995, allocations: 3.828 kB / 289.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.7995, allocations: 2.531 kB / 289.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.048e-05/0.7995, allocations: 8.219 kB / 290 MB, free: 9.375 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.7995, allocations: 5.656 kB / 290 MB, free: 9.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.7998, allocations: 82.23 kB / 290 MB, free: 9.355 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000303/0.8001, allocations: 176.4 kB / 290.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.8002, allocations: 191.9 kB / 290.4 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.8002, allocations: 6.266 kB / 290.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.804e-05/0.8003, allocations: 172 kB / 290.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.8006, allocations: 101.8 kB / 290.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.8035, allocations: 0.5135 MB / 291.2 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.8035, allocations: 104.1 kB / 291.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.8036, allocations: 30.17 kB / 291.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.8037, allocations: 110.6 kB / 291.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of SimCode: time 5.92e-07/0.8037, allocations: 0 / 291.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of Templates: time 0.005999/0.8097, allocations: 4.88 MB / 296.3 MB, free: 7.461 MB / 266.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.709733580239117]