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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1236/0.1236, allocations: 2.769 MB / 293.2 MB, free: 3.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 354.5 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09917, allocations: 50.23 MB / 404.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.222/0.3212, allocations: 19.1 MB / 423.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.3259, allocations: 6.088 MB / 429.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.3262, allocations: 3 kB / 429.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008509/0.3272, allocations: 250 kB / 430.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.3307, allocations: 1.211 MB / 431.4 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.3311, allocations: 86.08 kB / 431.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.3315, allocations: 300.6 kB / 431.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.3316, allocations: 27.98 kB / 431.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3317, allocations: 97.58 kB / 431.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3319, allocations: 110.5 kB / 432 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.3319, allocations: 6.375 kB / 432 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4577/0.7896, allocations: 38.62 MB / 470.6 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.7897, allocations: 24.75 kB / 470.7 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.79, allocations: 134.6 kB / 470.8 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.7922, allocations: 0.4971 MB / 471.3 MB, free: 17.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7923, allocations: 0 / 471.3 MB, free: 17.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7923, allocations: 0 / 471.3 MB, free: 17.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.7923, allocations: 0 / 471.3 MB, free: 17.44 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.0006846/0.793, allocations: 0.5663 MB / 471.9 MB, free: 16.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.793, allocations: 9.344 kB / 471.9 MB, free: 16.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.573e-05/0.7931, allocations: 68.33 kB / 471.9 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008508/0.794, allocations: 204.3 kB / 472.1 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.7941, allocations: 189.7 kB / 472.3 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.7941, allocations: 17.44 kB / 472.3 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.7942, allocations: 27.72 kB / 472.4 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.7947, allocations: 337 kB / 472.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.7947, allocations: 4 kB / 472.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.7947, allocations: 10.53 kB / 472.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.7948, allocations: 13.22 kB / 472.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.7951, allocations: 259.6 kB / 473 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.7965, allocations: 2.134 MB / 475.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.7967, allocations: 138.8 kB / 475.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.7968, allocations: 105.5 kB / 475.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/0.7973, allocations: 0.685 MB / 476 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.7974, allocations: 43.11 kB / 476.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.7974, allocations: 0 / 476.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003382/0.7977, allocations: 182.8 kB / 476.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.7978, allocations: 80.95 kB / 476.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.7978, allocations: 109 kB / 476.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.7978, allocations: 25.7 kB / 476.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.7979, allocations: 156.7 kB / 476.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.855e-05/0.798, allocations: 109.8 kB / 476.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.798, allocations: 37.25 kB / 476.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.7981, allocations: 325.7 kB / 477.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.7981, allocations: 34.06 kB / 477.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.7982, allocations: 84.86 kB / 477.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.7984, allocations: 148 kB / 477.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7984, allocations: 3.938 kB / 477.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002187/0.7986, allocations: 158.2 kB / 477.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.7986, allocations: 6 kB / 477.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.7986, allocations: 5.312 kB / 477.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7987, allocations: 2.344 kB / 477.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.7987, allocations: 16.5 kB / 477.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7988, allocations: 2.281 kB / 477.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.7988, allocations: 12.28 kB / 477.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.7988, allocations: 3.469 kB / 477.5 MB, free: 12.43 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.512e-05/0.7989, allocations: 131.3 kB / 477.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.799, allocations: 20.52 kB / 477.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.799, allocations: 13.56 kB / 477.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.799, allocations: 1.188 kB / 477.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7991, allocations: 4.719 kB / 477.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7991, allocations: 1.25 kB / 477.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.7994, allocations: 280.8 kB / 478 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7994, allocations: 3.609 kB / 478 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.7994, allocations: 4.125 kB / 478 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7994, allocations: 0 / 478 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.7994, allocations: 2.219 kB / 478 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.7994, allocations: 1.219 kB / 478 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7994, allocations: 0 / 478 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.8014, allocations: 320.9 kB / 478.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.8015, allocations: 93.27 kB / 478.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.8015, allocations: 1.062 kB / 478.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.8016, allocations: 4.969 kB / 478.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.8017, allocations: 3.281 kB / 478.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.8017, allocations: 2.188 kB / 478.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.432e-05/0.8017, allocations: 89.98 kB / 478.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8017, allocations: 0 / 478.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001316/0.803, allocations: 84.5 kB / 478.6 MB, free: 11.54 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: 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.000848/0.8039, allocations: 0.9153 MB / 479.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.8043, allocations: 245.2 kB / 479.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8043, allocations: 0 / 479.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.8044, allocations: 202.8 kB / 479.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007544/0.8052, allocations: 80.03 kB / 480 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.8063, allocations: 0.5928 MB / 480.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.8067, allocations: 0.7987 MB / 481.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.8069, allocations: 19.92 kB / 481.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.807, allocations: 121 kB / 481.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.807, allocations: 4 kB / 481.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.8333, allocations: 7.889 MB / 489.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/8.4, allocations: 5.328 kB / 489.4 MB, free: 8.023 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)