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.001805/0.001805, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002267/0.002267, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.01272/0.01272, allocations: 2.814 MB / 316 MB, free: 84 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.001896/0.001896, allocations: 63.91 kB / 439.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.09122, allocations: 54.18 MB / 493.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02084/0.1121, allocations: 17.33 MB / 0.499 GB, free: 5.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005357/0.1174, allocations: 5.27 MB / 0.5041 GB, free: 332 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1176, allocations: 0 / 0.5041 GB, free: 332 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.1182, allocations: 206.7 kB / 0.5043 GB, free: 124 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2099/0.3282, allocations: 1.165 MB / 0.5054 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3284, allocations: 81.88 kB / 0.5055 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.3288, allocations: 306.6 kB / 0.5058 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.3289, allocations: 17.22 kB / 0.5058 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.329, allocations: 95.94 kB / 0.5059 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3291, allocations: 110.9 kB / 0.506 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3291, allocations: 7.938 kB / 0.506 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5885/0.9177, allocations: 39.16 MB / 0.5443 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.9178, allocations: 39.64 kB / 0.5443 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.9181, allocations: 104 kB / 0.5444 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.92, allocations: 0.5105 MB / 0.5449 GB, free: 1.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.92, allocations: 0 / 0.5449 GB, free: 1.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.92, allocations: 0 / 0.5449 GB, free: 1.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.92, allocations: 4 kB / 0.5449 GB, free: 1.359 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.000751/0.9207, allocations: 0.4992 MB / 0.5454 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.9208, allocations: 8.031 kB / 0.5454 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.319e-05/0.9208, allocations: 8.688 kB / 0.5454 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.655e-05/0.9209, allocations: 67.5 kB / 0.5455 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/0.9217, allocations: 206.8 kB / 0.5457 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.9218, allocations: 132.1 kB / 0.5458 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.9218, allocations: 16.62 kB / 0.5458 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.9219, allocations: 30.69 kB / 0.5459 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.9224, allocations: 343.5 kB / 0.5462 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.9224, allocations: 5.828 kB / 0.5462 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.9224, allocations: 14.56 kB / 0.5462 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.9224, allocations: 9.812 kB / 0.5462 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.9228, allocations: 274.9 kB / 0.5465 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.9242, allocations: 0.8622 MB / 0.5473 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.9244, allocations: 96.06 kB / 0.5474 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.9245, allocations: 74.42 kB / 0.5475 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.9251, allocations: 0.4987 MB / 0.548 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.9252, allocations: 30.56 kB / 0.548 GB, free: 15.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.9252, allocations: 4 kB / 0.548 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003723/0.9255, allocations: 185.8 kB / 0.5482 GB, free: 14.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.9256, allocations: 77.11 kB / 0.5483 GB, free: 14.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.9257, allocations: 111.6 kB / 0.5484 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.9257, allocations: 29.7 kB / 0.5484 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.9258, allocations: 167.2 kB / 0.5485 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.098e-05/0.9259, allocations: 105.8 kB / 0.5486 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.926, allocations: 41.97 kB / 0.5487 GB, free: 14.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.9261, allocations: 325.1 kB / 0.549 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.9262, allocations: 37.47 kB / 0.549 GB, free: 14.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.911e-05/0.9263, allocations: 79.14 kB / 0.5491 GB, free: 13.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.9265, allocations: 145.7 kB / 0.5492 GB, free: 13.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.9265, allocations: 0 / 0.5492 GB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002605/0.9268, allocations: 158.8 kB / 0.5494 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.9268, allocations: 4 kB / 0.5494 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.9268, allocations: 3.984 kB / 0.5494 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9268, allocations: 4 kB / 0.5494 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.9269, allocations: 8 kB / 0.5494 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.9269, allocations: 7.75 kB / 0.5494 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.927, allocations: 19.97 kB / 0.5494 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.927, allocations: 11.94 kB / 0.5495 GB, free: 13.69 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.0001326/0.9271, allocations: 125.4 kB / 0.5496 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.9272, allocations: 7.953 kB / 0.5496 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.9272, allocations: 15.58 kB / 0.5496 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.9272, allocations: 3.938 kB / 0.5496 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.9272, allocations: 4 kB / 0.5496 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9272, allocations: 0 / 0.5496 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.9276, allocations: 257.7 kB / 0.5498 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9276, allocations: 0 / 0.5498 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.9276, allocations: 4 kB / 0.5499 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.9276, allocations: 4 kB / 0.5499 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.9276, allocations: 4 kB / 0.5499 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9276, allocations: 0 / 0.5499 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9276, allocations: 3.984 kB / 0.5499 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.9293, allocations: 311.1 kB / 0.5502 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.9293, allocations: 22.34 kB / 0.5502 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.9293, allocations: 0 / 0.5502 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.9294, allocations: 0 / 0.5502 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.9294, allocations: 7.984 kB / 0.5502 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.9295, allocations: 7.938 kB / 0.5502 GB, free: 12.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.33e-05/0.9295, allocations: 79.16 kB / 0.5503 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9295, allocations: 4 kB / 0.5503 GB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004678/0.93, allocations: 83.72 kB / 0.5504 GB, free: 12.8 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.001008/0.931, allocations: 0.9423 MB / 0.5513 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.9313, allocations: 213.3 kB / 0.5515 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9313, allocations: 0 / 0.5515 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.9314, allocations: 181.1 kB / 0.5517 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.9321, allocations: 89.47 kB / 0.5517 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.9337, allocations: 0.5881 MB / 0.5523 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.934, allocations: 191 kB / 0.5525 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.9341, allocations: 33.11 kB / 0.5525 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.9342, allocations: 119.5 kB / 0.5526 GB, free: 10.62 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.9342, allocations: 4 kB / 0.5526 GB, free: 10.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.9656, allocations: 8.867 MB / 0.5613 GB, free: 1.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.65, allocations: 7.969 kB / 0.5613 GB, free: 1.852 MB / 398.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.807257571956143] Failed to read output from testmodel.py, exit status != 0: 13.044462919933721 13.073472878 12.147816619 Calling exit ...