Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_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.001003/0.001003, allocations: 96.94 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.008979/0.008979, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1152/0.1152, allocations: 2.784 MB / 294.2 MB, free: 4.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003435, allocations: 8 kB / 356.3 MB, free: 3.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08856, allocations: 51.25 MB / 407.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.1803/0.2689, allocations: 18.49 MB / 426.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.2724, allocations: 5.971 MB / 432 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.2725, allocations: 0 / 432 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.273, allocations: 238.9 kB / 432.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.2748, allocations: 1.105 MB / 433.4 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.2751, allocations: 82.75 kB / 433.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.2753, allocations: 303 kB / 433.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.2753, allocations: 20.83 kB / 433.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.2754, allocations: 97.31 kB / 433.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.2755, allocations: 119.2 kB / 434 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2755, allocations: 6.375 kB / 434 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5335/0.809, allocations: 35.06 MB / 469 MB, free: 19.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.8091, allocations: 32.12 kB / 469.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.8093, allocations: 152.8 kB / 469.2 MB, free: 19.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.8111, allocations: 0.4921 MB / 469.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.8111, allocations: 1.375 kB / 469.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.8111, allocations: 0 / 469.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.8111, allocations: 0 / 469.7 MB, free: 19.61 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.0004618/0.8116, allocations: 0.5281 MB / 470.2 MB, free: 19.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8116, allocations: 8.875 kB / 470.3 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.8117, allocations: 66.55 kB / 470.3 MB, free: 19.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007464/0.8124, allocations: 203.8 kB / 470.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.476e-05/0.8125, allocations: 189 kB / 470.7 MB, free: 18.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.8125, allocations: 16.28 kB / 470.7 MB, free: 18.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.8126, allocations: 30.94 kB / 470.8 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.813, allocations: 344.7 kB / 471.1 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.813, allocations: 0 / 471.1 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.8131, allocations: 9.5 kB / 471.1 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.8131, allocations: 13.73 kB / 471.1 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.8134, allocations: 259 kB / 471.4 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.8144, allocations: 2.125 MB / 473.5 MB, free: 16.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.8146, allocations: 136.7 kB / 473.6 MB, free: 16.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/0.8147, allocations: 105.8 kB / 473.7 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004329/0.8151, allocations: 0.6838 MB / 474.4 MB, free: 16.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.8151, allocations: 32.25 kB / 474.4 MB, free: 16.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.302e-06/0.8151, allocations: 0 / 474.4 MB, free: 16.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003103/0.8154, allocations: 193.8 kB / 474.6 MB, free: 16.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.8155, allocations: 84.8 kB / 474.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.8155, allocations: 105.4 kB / 474.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.8156, allocations: 29.08 kB / 474.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.8156, allocations: 160.9 kB / 475 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.8157, allocations: 101.2 kB / 475.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.8157, allocations: 29.22 kB / 475.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.8157, allocations: 322.9 kB / 475.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.018e-05/0.8158, allocations: 37.08 kB / 475.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.8159, allocations: 84.84 kB / 475.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.816, allocations: 135.6 kB / 475.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.816, allocations: 4 kB / 475.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001956/0.8162, allocations: 167.7 kB / 475.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.8162, allocations: 5.5 kB / 475.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8162, allocations: 1.219 kB / 475.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.8163, allocations: 2.625 kB / 475.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.8163, allocations: 12.88 kB / 475.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.8163, allocations: 2.406 kB / 475.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.8164, allocations: 31.45 kB / 475.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.8165, allocations: 5.531 kB / 475.9 MB, free: 15.13 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.673e-05/0.8165, allocations: 129.6 kB / 476.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.8166, allocations: 11.56 kB / 476.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.817, allocations: 431.9 kB / 476.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000316/0.8173, allocations: 335.5 kB / 476.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8174, allocations: 0.9688 kB / 476.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8174, allocations: 5.156 kB / 476.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009471/0.8183, allocations: 1.046 MB / 477.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8183, allocations: 0 / 477.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.8185, allocations: 51.39 kB / 477.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8185, allocations: 6.969 kB / 477.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.8185, allocations: 8.531 kB / 477.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8185, allocations: 1.375 kB / 477.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8185, allocations: 1.375 kB / 477.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.8189, allocations: 0.4972 MB / 478.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.8189, allocations: 107.8 kB / 478.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.819, allocations: 5.969 kB / 478.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.8192, allocations: 52.02 kB / 478.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.8192, allocations: 20.39 kB / 478.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.8192, allocations: 6.438 kB / 478.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.042e-05/0.8193, allocations: 82.59 kB / 478.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8193, allocations: 0 / 478.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.8197, allocations: 105 kB / 478.8 MB, free: 13.8 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.0007289/0.8204, allocations: 1.133 MB / 479.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.8207, allocations: 307.8 kB / 480.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8208, allocations: 1.219 kB / 480.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.8209, allocations: 168.3 kB / 480.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.8222, allocations: 166.4 kB / 480.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.8232, allocations: 0.9005 MB / 481.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.8234, allocations: 0.8003 MB / 482.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.8235, allocations: 30.83 kB / 482.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.8236, allocations: 122.5 kB / 482.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.8237, allocations: 0 / 482.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.8429, allocations: 8.623 MB / 491 MB, free: 10.39 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001223/0.8431, allocations: 245.8 kB / 491.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.729, allocations: 0 / 491.3 MB, free: 10.14 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestStatesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1)