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.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.001298/0.001298, allocations: 106.8 kB / 16.4 MB, free: 6.5 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.001348/0.001348, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.409/1.409, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.0132/0.0132, allocations: 2.774 MB / 300 MB, free: 9.852 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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 63.89 kB / 414.1 MB, free: 28.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.1004, allocations: 50.24 MB / 464.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02404/0.1245, allocations: 19.12 MB / 483.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006073/0.1306, allocations: 6.08 MB / 489.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.1309, allocations: 4 kB / 489.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00073/0.1317, allocations: 254.5 kB / 489.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.135, allocations: 1.21 MB / 491 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1353, allocations: 83.36 kB / 491.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000432/0.1357, allocations: 301.8 kB / 491.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.1358, allocations: 28.7 kB / 491.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1359, allocations: 95.55 kB / 491.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1361, allocations: 107.5 kB / 491.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.1362, allocations: 8 kB / 491.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.81/0.9461, allocations: 38.99 MB / 0.5182 GB, free: 34.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.9462, allocations: 40.62 kB / 0.5182 GB, free: 34.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.9465, allocations: 126.6 kB / 0.5184 GB, free: 34.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.9484, allocations: 0.5149 MB / 0.5189 GB, free: 34.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.9484, allocations: 1.406 kB / 0.5189 GB, free: 34.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.9484, allocations: 0 / 0.5189 GB, free: 34.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.9485, allocations: 0 / 0.5189 GB, free: 34.39 MB / 382.1 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.0006823/0.9492, allocations: 0.5679 MB / 0.5194 GB, free: 33.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.9492, allocations: 9.062 kB / 0.5194 GB, free: 33.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.325e-05/0.9493, allocations: 69.31 kB / 0.5195 GB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.9501, allocations: 208.9 kB / 0.5197 GB, free: 33.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.9503, allocations: 189.2 kB / 0.5199 GB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.9503, allocations: 16.09 kB / 0.5199 GB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.9503, allocations: 33.22 kB / 0.5199 GB, free: 33.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.9508, allocations: 336.4 kB / 0.5202 GB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.9508, allocations: 5.281 kB / 0.5203 GB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.9509, allocations: 10.22 kB / 0.5203 GB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.9509, allocations: 13.47 kB / 0.5203 GB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.9512, allocations: 256.6 kB / 0.5205 GB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.9526, allocations: 2.125 MB / 0.5226 GB, free: 31.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.9527, allocations: 133.2 kB / 0.5227 GB, free: 31.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.9529, allocations: 109.3 kB / 0.5228 GB, free: 31.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005354/0.9534, allocations: 0.6928 MB / 0.5235 GB, free: 30.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.9534, allocations: 35.97 kB / 0.5235 GB, free: 30.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.9534, allocations: 0 / 0.5235 GB, free: 30.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004137/0.9539, allocations: 185.4 kB / 0.5237 GB, free: 30.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.9539, allocations: 78.72 kB / 0.5238 GB, free: 30.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.954, allocations: 102.2 kB / 0.5239 GB, free: 30.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.954, allocations: 26.72 kB / 0.5239 GB, free: 30.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.9541, allocations: 166.3 kB / 0.5241 GB, free: 30.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.9541, allocations: 111.9 kB / 0.5242 GB, free: 30.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.9542, allocations: 39.55 kB / 0.5242 GB, free: 30.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.9543, allocations: 324 kB / 0.5245 GB, free: 30.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.9543, allocations: 34.33 kB / 0.5246 GB, free: 30.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.979e-05/0.9544, allocations: 80.33 kB / 0.5246 GB, free: 30.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.9546, allocations: 150.8 kB / 0.5248 GB, free: 30.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9546, allocations: 4.328 kB / 0.5248 GB, free: 30.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002137/0.9549, allocations: 155 kB / 0.5249 GB, free: 29.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9549, allocations: 9.5 kB / 0.5249 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9549, allocations: 1.344 kB / 0.5249 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.9549, allocations: 1.594 kB / 0.5249 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.955, allocations: 14.36 kB / 0.525 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.955, allocations: 2.281 kB / 0.525 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.9551, allocations: 19.97 kB / 0.525 GB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.9551, allocations: 8.359 kB / 0.525 GB, free: 29.95 MB / 382.1 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 8.171e-05/0.9552, allocations: 134.4 kB / 0.5251 GB, free: 29.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.9552, allocations: 12.08 kB / 0.5251 GB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.9553, allocations: 14.38 kB / 0.5251 GB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.9553, allocations: 1.594 kB / 0.5251 GB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9553, allocations: 0 / 0.5251 GB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.9553, allocations: 4.75 kB / 0.5251 GB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.9556, allocations: 276 kB / 0.5254 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.9556, allocations: 4.938 kB / 0.5254 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.9556, allocations: 5.375 kB / 0.5254 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9556, allocations: 1.375 kB / 0.5254 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.9556, allocations: 5.312 kB / 0.5254 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9556, allocations: 1.375 kB / 0.5254 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9557, allocations: 4 kB / 0.5254 GB, free: 29.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.9571, allocations: 320.7 kB / 0.5257 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.9572, allocations: 93.69 kB / 0.5258 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.9572, allocations: 2.172 kB / 0.5258 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.676e-05/0.9573, allocations: 5.125 kB / 0.5258 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.9573, allocations: 7.719 kB / 0.5258 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.9573, allocations: 2.75 kB / 0.5258 GB, free: 29.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004876/0.9578, allocations: 88.67 kB / 0.5259 GB, free: 29.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9578, allocations: 0 / 0.5259 GB, free: 29.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.9582, allocations: 87.91 kB / 0.526 GB, free: 29.18 MB / 382.1 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.0006147/0.9589, allocations: 0.9288 MB / 0.5269 GB, free: 28.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.9592, allocations: 232.2 kB / 0.5271 GB, free: 28.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9592, allocations: 3.312 kB / 0.5271 GB, free: 28.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.9593, allocations: 203.9 kB / 0.5273 GB, free: 28.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.96, allocations: 80.22 kB / 0.5274 GB, free: 28.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.961, allocations: 0.5909 MB / 0.528 GB, free: 27.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.9613, allocations: 0.796 MB / 0.5288 GB, free: 27.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.9614, allocations: 30.91 kB / 0.5288 GB, free: 27.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.9616, allocations: 113.9 kB / 0.5289 GB, free: 27.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.9616, allocations: 0.5 kB / 0.5289 GB, free: 27.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.9954, allocations: 8.14 MB / 0.5369 GB, free: 24.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/9.422, allocations: 7.859 kB / 0.5369 GB, free: 24.77 MB / 382.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.61408858501818] Failed to read output from testmodel.py, exit status != 0: 9.722346698050387 9.735501898 8.785113645 Calling exit ...