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.001667/0.001667, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002253/0.002253, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.01419/0.01419, allocations: 2.802 MB / 316 MB, free: 284 kB / 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.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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003165/0.003165, allocations: 63.89 kB / 439.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1172, allocations: 54.18 MB / 493.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02171/0.139, allocations: 19.4 MB / 0.501 GB, free: 3.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2144/0.3534, allocations: 6.082 MB / 0.507 GB, free: 4.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.3536, allocations: 0.9688 kB / 0.507 GB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.3543, allocations: 257 kB / 0.5072 GB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.3576, allocations: 1.209 MB / 0.5084 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.3579, allocations: 85.58 kB / 0.5085 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.3584, allocations: 305.5 kB / 0.5088 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.3585, allocations: 17.69 kB / 0.5088 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.3586, allocations: 99.95 kB / 0.5089 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3588, allocations: 110.1 kB / 0.509 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3588, allocations: 10 kB / 0.509 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6373/0.9961, allocations: 39.17 MB / 0.5473 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.855e-05/0.9962, allocations: 28.72 kB / 0.5473 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.9966, allocations: 130.5 kB / 0.5474 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.9992, allocations: 0.5129 MB / 0.5479 GB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.9992, allocations: 0 / 0.5479 GB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.9992, allocations: 0 / 0.5479 GB, free: 144 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.9992, allocations: 0 / 0.5479 GB, free: 144 kB / 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.0007767/1, allocations: 0.4949 MB / 0.5484 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/1, allocations: 16.03 kB / 0.5484 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.95e-05/1, allocations: 4.688 kB / 0.5484 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/1, allocations: 68.47 kB / 0.5485 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008369/1.001, allocations: 211.2 kB / 0.5487 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/1.001, allocations: 132.3 kB / 0.5488 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/1.001, allocations: 19 kB / 0.5488 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/1.001, allocations: 29 kB / 0.5489 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/1.002, allocations: 339.3 kB / 0.5492 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.002, allocations: 0 / 0.5492 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/1.002, allocations: 18.86 kB / 0.5492 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/1.002, allocations: 8 kB / 0.5492 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/1.002, allocations: 274.8 kB / 0.5495 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/1.004, allocations: 2.091 MB / 0.5515 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/1.004, allocations: 101.2 kB / 0.5516 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/1.004, allocations: 72.42 kB / 0.5517 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006198/1.005, allocations: 0.5185 MB / 0.5522 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/1.005, allocations: 42.48 kB / 0.5522 GB, free: 11.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/1.005, allocations: 0 / 0.5522 GB, free: 11.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003879/1.005, allocations: 173.6 kB / 0.5524 GB, free: 11.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/1.005, allocations: 81.05 kB / 0.5525 GB, free: 11.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009504/1.006, allocations: 113.9 kB / 0.5526 GB, free: 11.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/1.006, allocations: 25.7 kB / 0.5526 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.007, allocations: 160.5 kB / 0.5528 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.916e-05/1.007, allocations: 111 kB / 0.5529 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/1.007, allocations: 37.66 kB / 0.5529 GB, free: 11.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/1.007, allocations: 330.8 kB / 0.5532 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/1.007, allocations: 38.34 kB / 0.5532 GB, free: 10.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/1.007, allocations: 85.11 kB / 0.5533 GB, free: 10.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/1.007, allocations: 137.9 kB / 0.5535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.007, allocations: 4 kB / 0.5535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002867/1.008, allocations: 157.4 kB / 0.5536 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.008, allocations: 4 kB / 0.5536 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.008, allocations: 7.938 kB / 0.5536 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.008, allocations: 0 / 0.5536 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/1.008, allocations: 8 kB / 0.5536 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.008, allocations: 4 kB / 0.5536 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/1.008, allocations: 19.78 kB / 0.5537 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/1.008, allocations: 12.12 kB / 0.5537 GB, free: 10.33 MB / 398.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 0.0001611/1.008, allocations: 125.8 kB / 0.5538 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/1.008, allocations: 7.953 kB / 0.5538 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/1.008, allocations: 16.45 kB / 0.5538 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.008, allocations: 0 / 0.5538 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.008, allocations: 3.938 kB / 0.5538 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.008, allocations: 0 / 0.5538 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/1.008, allocations: 257 kB / 0.5541 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.008, allocations: 0 / 0.5541 GB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/1.008, allocations: 4 kB / 0.5541 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.008, allocations: 4 kB / 0.5541 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/1.008, allocations: 4 kB / 0.5541 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/1.008, allocations: 0 / 0.5541 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.008, allocations: 3.938 kB / 0.5541 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/1.011, allocations: 314.7 kB / 0.5544 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/1.011, allocations: 19.83 kB / 0.5544 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/1.011, allocations: 4 kB / 0.5544 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/1.011, allocations: 4 kB / 0.5544 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/1.011, allocations: 7.938 kB / 0.5544 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/1.011, allocations: 3.938 kB / 0.5544 GB, free: 9.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.981e-05/1.011, allocations: 87.27 kB / 0.5545 GB, free: 9.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/1.011, allocations: 0 / 0.5545 GB, free: 9.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004959/1.011, allocations: 83.72 kB / 0.5546 GB, free: 9.328 MB / 398.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.0009557/1.012, allocations: 0.9323 MB / 0.5555 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000348/1.013, allocations: 213.1 kB / 0.5557 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.013, allocations: 3.938 kB / 0.5557 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/1.013, allocations: 181.8 kB / 0.5559 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/1.014, allocations: 91.66 kB / 0.556 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/1.015, allocations: 0.5829 MB / 0.5565 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/1.015, allocations: 0.7995 MB / 0.5573 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/1.016, allocations: 21.12 kB / 0.5573 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/1.016, allocations: 119.4 kB / 0.5574 GB, free: 6.297 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/1.016, allocations: 0 / 0.5574 GB, free: 6.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/1.047, allocations: 8.817 MB / 0.566 GB, free: 13.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.64, allocations: 19.62 kB / 0.5661 GB, free: 13.55 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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: 15.799477869994007] Failed to read output from testmodel.py, exit status != 0: 13.026189649943262 13.041204313 12.038754213 Calling exit ...