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.001245/0.001245, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001206/0.001206, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.277/1.277, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.107/0.107, allocations: 2.758 MB / 292.8 MB, free: 3.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.91 kB / 354 MB, free: 4.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.082/0.08313, allocations: 50.24 MB / 404.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.1664/0.2495, allocations: 19.02 MB / 423.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.253, allocations: 6.03 MB / 429.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.2531, allocations: 0 / 429.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.2536, allocations: 238 kB / 429.5 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.2555, allocations: 1.107 MB / 430.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.2557, allocations: 92.23 kB / 430.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.2559, allocations: 300.3 kB / 431 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.256, allocations: 24.98 kB / 431 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.256, allocations: 95.34 kB / 431.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.2561, allocations: 116.6 kB / 431.2 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2562, allocations: 9.5 kB / 431.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.999/2.255, allocations: 38.6 MB / 469.8 MB, free: 18.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/2.255, allocations: 30.94 kB / 469.9 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/2.255, allocations: 128.3 kB / 470 MB, free: 18.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/2.257, allocations: 0.504 MB / 470.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/2.257, allocations: 0 / 470.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/2.257, allocations: 1.375 kB / 470.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/2.257, allocations: 0 / 470.5 MB, free: 18.02 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.0006236/2.258, allocations: 0.5626 MB / 471.1 MB, free: 17.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/2.258, allocations: 9.625 kB / 471.1 MB, free: 17.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/2.258, allocations: 70.03 kB / 471.1 MB, free: 17.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008163/2.259, allocations: 203.9 kB / 471.3 MB, free: 17.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/2.259, allocations: 190.7 kB / 471.5 MB, free: 17.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/2.259, allocations: 16.75 kB / 471.6 MB, free: 17.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/2.259, allocations: 26.78 kB / 471.6 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/2.259, allocations: 337.7 kB / 471.9 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/2.259, allocations: 5.219 kB / 471.9 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/2.259, allocations: 8.375 kB / 471.9 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/2.259, allocations: 13.84 kB / 471.9 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/2.26, allocations: 267 kB / 472.2 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/2.261, allocations: 2.128 MB / 474.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/2.261, allocations: 126.1 kB / 474.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/2.261, allocations: 114.4 kB / 474.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004778/2.262, allocations: 0.6863 MB / 475.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/2.262, allocations: 35.66 kB / 475.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.212e-06/2.262, allocations: 0 / 475.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003029/2.262, allocations: 183.1 kB / 475.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/2.262, allocations: 82.14 kB / 475.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/2.262, allocations: 102.7 kB / 475.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/2.262, allocations: 26.92 kB / 475.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/2.262, allocations: 158.2 kB / 475.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/2.262, allocations: 109.9 kB / 475.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/2.262, allocations: 35.59 kB / 476 MB, free: 13.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/2.262, allocations: 325.1 kB / 476.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/2.262, allocations: 33.47 kB / 476.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/2.262, allocations: 89.14 kB / 476.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/2.262, allocations: 149 kB / 476.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/2.262, allocations: 4 kB / 476.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001896/2.263, allocations: 157.6 kB / 476.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/2.263, allocations: 5.719 kB / 476.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/2.263, allocations: 6.156 kB / 476.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/2.263, allocations: 1.188 kB / 476.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/2.263, allocations: 12.92 kB / 476.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/2.263, allocations: 2.406 kB / 476.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/2.263, allocations: 23.56 kB / 476.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/2.263, allocations: 7.844 kB / 476.8 MB, free: 12.91 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 7.787e-05/2.263, allocations: 134.8 kB / 476.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/2.263, allocations: 12.44 kB / 476.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/2.264, allocations: 424.4 kB / 477.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003207/2.264, allocations: 335 kB / 477.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.264, allocations: 5.438 kB / 477.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/2.264, allocations: 0 / 477.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009987/2.265, allocations: 1.042 MB / 478.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/2.265, allocations: 0 / 478.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/2.265, allocations: 55.27 kB / 478.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/2.265, allocations: 2.188 kB / 478.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/2.265, allocations: 10.31 kB / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/2.265, allocations: 1.094 kB / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/2.265, allocations: 1.156 kB / 478.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/2.265, allocations: 0.5043 MB / 479.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/2.266, allocations: 100.4 kB / 479.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/2.266, allocations: 9.906 kB / 479.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/2.266, allocations: 54.88 kB / 479.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/2.266, allocations: 17 kB / 479.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/2.266, allocations: 9.844 kB / 479.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.039e-05/2.266, allocations: 82.56 kB / 479.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/2.266, allocations: 0 / 479.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004397/2.266, allocations: 101.7 kB / 479.6 MB, free: 11.1 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.0007556/2.267, allocations: 1.141 MB / 480.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003818/2.267, allocations: 317.9 kB / 481.1 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/2.268, allocations: 1.031 kB / 481.1 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/2.268, allocations: 168.1 kB / 481.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/2.269, allocations: 161.7 kB / 481.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/2.27, allocations: 0.8705 MB / 482.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/2.27, allocations: 0.8031 MB / 483.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003511/2.27, allocations: 37.86 kB / 483.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/2.27, allocations: 118.3 kB / 483.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/2.27, allocations: 1 kB / 483.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5527/2.823, allocations: 9.113 MB / 492.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/2.823, allocations: 264.7 kB / 492.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/4.762, allocations: 8 kB / 492.6 MB, free: 7.199 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)