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.001306/0.001306, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001384/0.001384, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.01143/0.01143, allocations: 2.802 MB / 312.4 MB, free: 2.391 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.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.003041/0.003041, allocations: 68.48 kB / 434.2 MB, free: 39.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1195, allocations: 54.13 MB / 488.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02744/0.147, allocations: 19.29 MB / 0.4958 GB, free: 13.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009654/0.1566, allocations: 6.088 MB / 0.5017 GB, free: 7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.1569, allocations: 0 / 0.5017 GB, free: 7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.158, allocations: 254.5 kB / 0.5019 GB, free: 6.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003979/0.1619, allocations: 1.206 MB / 0.5031 GB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.1622, allocations: 87.36 kB / 0.5032 GB, free: 5.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004136/0.1627, allocations: 305.8 kB / 0.5035 GB, free: 5.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.1627, allocations: 28.72 kB / 0.5035 GB, free: 5.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1628, allocations: 95.55 kB / 0.5036 GB, free: 5.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.163, allocations: 115.4 kB / 0.5037 GB, free: 4.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.163, allocations: 8 kB / 0.5037 GB, free: 4.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5671/0.7301, allocations: 39.04 MB / 0.5419 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.7302, allocations: 35.78 kB / 0.5419 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.7306, allocations: 127.3 kB / 0.542 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.7326, allocations: 0.51 MB / 0.5425 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7326, allocations: 4 kB / 0.5425 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7326, allocations: 0 / 0.5425 GB, free: 14.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.7326, allocations: 0 / 0.5425 GB, free: 14.13 MB / 414.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.001203/0.7338, allocations: 0.5686 MB / 0.5431 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.7339, allocations: 11.98 kB / 0.5431 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.757e-05/0.7339, allocations: 12.75 kB / 0.5431 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.187e-05/0.734, allocations: 70.72 kB / 0.5432 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008619/0.7348, allocations: 204.5 kB / 0.5434 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.735, allocations: 192 kB / 0.5435 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.735, allocations: 20.5 kB / 0.5436 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.7351, allocations: 24 kB / 0.5436 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.7356, allocations: 341.6 kB / 0.5439 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.7356, allocations: 0 / 0.5439 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.7356, allocations: 12 kB / 0.5439 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.7356, allocations: 12 kB / 0.5439 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.736, allocations: 256.4 kB / 0.5442 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.7379, allocations: 2.13 MB / 0.5463 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.7381, allocations: 97.12 kB / 0.5464 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.7382, allocations: 69.75 kB / 0.5464 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.7389, allocations: 0.6892 MB / 0.5471 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.7389, allocations: 34.5 kB / 0.5471 GB, free: 8.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.502e-06/0.7389, allocations: 4 kB / 0.5471 GB, free: 8.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003939/0.7393, allocations: 189.8 kB / 0.5473 GB, free: 8.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.7394, allocations: 81.05 kB / 0.5474 GB, free: 8.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.7395, allocations: 109.8 kB / 0.5475 GB, free: 8.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.7395, allocations: 29.77 kB / 0.5475 GB, free: 8.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/0.7396, allocations: 168.4 kB / 0.5477 GB, free: 8.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.7397, allocations: 107 kB / 0.5478 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.7397, allocations: 33.7 kB / 0.5478 GB, free: 8.105 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7399, allocations: 326.8 kB / 0.5481 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.7399, allocations: 31.98 kB / 0.5482 GB, free: 7.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-05/0.74, allocations: 77.14 kB / 0.5482 GB, free: 7.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.7402, allocations: 137 kB / 0.5484 GB, free: 7.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7402, allocations: 0 / 0.5484 GB, free: 7.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002551/0.7405, allocations: 165.8 kB / 0.5485 GB, free: 7.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7405, allocations: 7.938 kB / 0.5485 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7405, allocations: 4 kB / 0.5485 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.7405, allocations: 0 / 0.5485 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.7406, allocations: 11.98 kB / 0.5485 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7406, allocations: 4 kB / 0.5485 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.874e-05/0.7407, allocations: 23.72 kB / 0.5486 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.7407, allocations: 8 kB / 0.5486 GB, free: 7.273 MB / 414.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.0001232/0.7408, allocations: 130 kB / 0.5487 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.7409, allocations: 11.91 kB / 0.5487 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.7409, allocations: 12.44 kB / 0.5487 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.7409, allocations: 0 / 0.5487 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.7409, allocations: 0 / 0.5487 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.7409, allocations: 7.922 kB / 0.5487 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.7413, allocations: 289.6 kB / 0.549 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7413, allocations: 7.984 kB / 0.549 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.7413, allocations: 4 kB / 0.549 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7413, allocations: 0 / 0.549 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.7414, allocations: 4 kB / 0.549 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7414, allocations: 4 kB / 0.549 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.7414, allocations: 0 / 0.549 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.743, allocations: 319.1 kB / 0.5493 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.7431, allocations: 89 kB / 0.5494 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.7431, allocations: 0 / 0.5494 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.7432, allocations: 7.984 kB / 0.5494 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.7432, allocations: 7.938 kB / 0.5494 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.7432, allocations: 4 kB / 0.5494 GB, free: 6.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.7433, allocations: 83.28 kB / 0.5495 GB, free: 6.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7433, allocations: 0 / 0.5495 GB, free: 6.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000448/0.7437, allocations: 87.67 kB / 0.5496 GB, free: 6.133 MB / 414.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.0009845/0.7447, allocations: 0.921 MB / 0.5505 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.7451, allocations: 211.7 kB / 0.5507 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7451, allocations: 0 / 0.5507 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.7452, allocations: 181.8 kB / 0.5509 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.746, allocations: 99.58 kB / 0.551 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.747, allocations: 0.5828 MB / 0.5515 GB, free: 4.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.7475, allocations: 0.8033 MB / 0.5523 GB, free: 3.211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.7476, allocations: 21.2 kB / 0.5523 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.7478, allocations: 119.4 kB / 0.5525 GB, free: 3.078 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.7478, allocations: 0 / 0.5525 GB, free: 3.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.7761, allocations: 8.228 MB / 0.5605 GB, free: 10.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/9.435, allocations: 11.92 kB / 0.5605 GB, free: 10.88 MB / 430.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 & /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: 12.637244537996594] Failed to read output from testmodel.py, exit status != 0: 9.804428413044661 9.820704196 9.084761066 Calling exit ...