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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007752/0.0007751, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004874/0.004874, allocations: 172.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1221/0.1221, allocations: 2.782 MB / 294.2 MB, free: 4.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 12 kB / 356.3 MB, free: 3.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08605, allocations: 51.26 MB / 407.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.1928/0.2789, allocations: 18.48 MB / 426.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004021/0.2829, allocations: 5.971 MB / 432 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.2831, allocations: 0 / 432 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.2837, allocations: 232.6 kB / 432.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.2864, allocations: 1.109 MB / 433.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.2867, allocations: 88.22 kB / 433.5 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.2871, allocations: 298.3 kB / 433.7 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.373e-05/0.2871, allocations: 22.08 kB / 433.8 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2873, allocations: 95.81 kB / 433.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2874, allocations: 113.8 kB / 434 MB, free: 33.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.2875, allocations: 6.469 kB / 434 MB, free: 33.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.9001/1.188, allocations: 35.51 MB / 469.5 MB, free: 19.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/1.188, allocations: 31.84 kB / 469.5 MB, free: 19.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000242/1.188, allocations: 152.9 kB / 469.7 MB, free: 19.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/1.19, allocations: 0.4891 MB / 470.2 MB, free: 19.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.19, allocations: 0 / 470.2 MB, free: 19.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/1.19, allocations: 3.938 kB / 470.2 MB, free: 19.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/1.19, allocations: 1.281 kB / 470.2 MB, free: 19.45 MB / 350.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.0007687/1.191, allocations: 0.533 MB / 470.7 MB, free: 18.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.191, allocations: 8.906 kB / 470.7 MB, free: 18.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.766e-05/1.191, allocations: 67.59 kB / 470.8 MB, free: 18.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/1.192, allocations: 203 kB / 471 MB, free: 18.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/1.192, allocations: 186.2 kB / 471.2 MB, free: 18.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/1.192, allocations: 18.09 kB / 471.2 MB, free: 18.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/1.192, allocations: 31.7 kB / 471.2 MB, free: 18.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007773/1.193, allocations: 329.5 kB / 471.5 MB, free: 18.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/1.193, allocations: 5.188 kB / 471.5 MB, free: 18.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/1.193, allocations: 9.219 kB / 471.5 MB, free: 18.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/1.193, allocations: 13.2 kB / 471.5 MB, free: 18.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007288/1.194, allocations: 263.2 kB / 471.8 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/1.196, allocations: 2.131 MB / 473.9 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/1.196, allocations: 135.2 kB / 474.1 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/1.196, allocations: 108.4 kB / 474.2 MB, free: 16.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/1.197, allocations: 0.6851 MB / 474.9 MB, free: 16.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/1.197, allocations: 38.38 kB / 474.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/1.197, allocations: 1.344 kB / 474.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003541/1.197, allocations: 178.8 kB / 475.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/1.197, allocations: 82.52 kB / 475.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/1.197, allocations: 107.2 kB / 475.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/1.197, allocations: 25.7 kB / 475.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/1.197, allocations: 157.6 kB / 475.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/1.198, allocations: 106.1 kB / 475.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/1.198, allocations: 27.28 kB / 475.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.912e-05/1.198, allocations: 324.9 kB / 475.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/1.198, allocations: 36.91 kB / 475.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/1.198, allocations: 84.91 kB / 476 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/1.198, allocations: 142.6 kB / 476.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.198, allocations: 7.812 kB / 476.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001808/1.198, allocations: 156.7 kB / 476.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.198, allocations: 8.719 kB / 476.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.198, allocations: 0 / 476.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.198, allocations: 192 / 476.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/1.198, allocations: 17.34 kB / 476.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.198, allocations: 1.469 kB / 476.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/1.198, allocations: 35.41 kB / 476.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/1.198, allocations: 4.438 kB / 476.4 MB, free: 14.97 MB / 350.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.669e-05/1.198, allocations: 134.4 kB / 476.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/1.199, allocations: 12.19 kB / 476.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/1.199, allocations: 432.6 kB / 476.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003771/1.199, allocations: 331.8 kB / 477.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.199, allocations: 1.031 kB / 477.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.2, allocations: 4.516 kB / 477.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/1.201, allocations: 1.039 MB / 478.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.201, allocations: 1.219 kB / 478.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/1.201, allocations: 50.33 kB / 478.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.201, allocations: 2.219 kB / 478.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.201, allocations: 4.594 kB / 478.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.201, allocations: 10.31 kB / 478.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.201, allocations: 1 kB / 478.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/1.201, allocations: 0.5008 MB / 478.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/1.201, allocations: 104.7 kB / 479 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/1.201, allocations: 5.5 kB / 479 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/1.202, allocations: 47.02 kB / 479 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/1.202, allocations: 24.28 kB / 479 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/1.202, allocations: 10.34 kB / 479.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.978e-05/1.202, allocations: 82.58 kB / 479.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.202, allocations: 4.969 kB / 479.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005055/1.202, allocations: 105.1 kB / 479.2 MB, free: 13.61 MB / 350.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: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.0009468/1.203, allocations: 1.13 MB / 480.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/1.204, allocations: 304.4 kB / 480.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.204, allocations: 0 / 480.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/1.204, allocations: 165.2 kB / 480.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.205, allocations: 166.5 kB / 481 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/1.206, allocations: 0.9044 MB / 481.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/1.206, allocations: 0.8042 MB / 482.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00015/1.207, allocations: 28.77 kB / 482.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/1.207, allocations: 118.5 kB / 482.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/1.207, allocations: 1.188 kB / 482.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/1.26, allocations: 8.656 MB / 491.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.26, allocations: 266.7 kB / 491.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/3.084, allocations: 0 / 491.8 MB, free: 9.914 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1)