Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state",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.001184/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1117/0.1117, allocations: 2.761 MB / 292.7 MB, free: 3.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 55.91 kB / 353.8 MB, free: 4.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07513/0.07626, allocations: 50.23 MB / 404.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.007779/0.08407, allocations: 8.152 MB / 412.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006661/0.08476, allocations: 0.9342 MB / 413.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.08479, allocations: 0 / 413.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.08502, allocations: 75.64 kB / 413.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.846e-05/0.08506, allocations: 23.83 kB / 413.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.08531, allocations: 107.3 kB / 413.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.08539, allocations: 55.56 kB / 413.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.08544, allocations: 7.984 kB / 413.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.08548, allocations: 19.92 kB / 413.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/0.08554, allocations: 11.94 kB / 413.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.08555, allocations: 0 / 413.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3227/0.4082, allocations: 12.42 MB / 425.9 MB, free: 44.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.4083, allocations: 9.812 kB / 425.9 MB, free: 44.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.4083, allocations: 20.91 kB / 425.9 MB, free: 44.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.4085, allocations: 86.44 kB / 426 MB, free: 44.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4085, allocations: 2.094 kB / 426 MB, free: 44.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.4086, allocations: 0 / 426 MB, free: 44.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.4086, allocations: 4.469 kB / 426 MB, free: 44.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002767/0.4088, allocations: 366.8 kB / 426.3 MB, free: 44.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4089, allocations: 9.719 kB / 426.3 MB, free: 44.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.629e-05/0.4089, allocations: 40.47 kB / 426.4 MB, free: 44.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.981e-05/0.409, allocations: 20.61 kB / 426.4 MB, free: 44.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.249e-05/0.4091, allocations: 172.9 kB / 426.6 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.4091, allocations: 3.75 kB / 426.6 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-06/0.4091, allocations: 8.469 kB / 426.6 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.4092, allocations: 68.88 kB / 426.6 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.4092, allocations: 2.344 kB / 426.6 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.4092, allocations: 3.031 kB / 426.7 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4092, allocations: 6.812 kB / 426.7 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.039e-05/0.4093, allocations: 34.38 kB / 426.7 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.4096, allocations: 305.8 kB / 427 MB, free: 43.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.147e-05/0.4096, allocations: 50.3 kB / 427 MB, free: 43.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.4097, allocations: 37.83 kB / 427.1 MB, free: 43.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.4097, allocations: 0 / 427.1 MB, free: 43.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.4097, allocations: 30.56 kB / 427.1 MB, free: 43.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.91e-07/0.4097, allocations: 5.875 kB / 427.1 MB, free: 43.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0001822/0.4099, allocations: 112.9 kB / 427.2 MB, free: 43.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.575e-05/0.4099, allocations: 51.41 kB / 427.3 MB, free: 43.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.462e-05/0.4099, allocations: 98.28 kB / 427.4 MB, free: 43.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.41, allocations: 25.7 kB / 427.4 MB, free: 43.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.022e-05/0.41, allocations: 84.08 kB / 427.5 MB, free: 43.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.41, allocations: 51.67 kB / 427.5 MB, free: 43.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.41, allocations: 29.61 kB / 427.6 MB, free: 43.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.365e-05/0.4101, allocations: 321.9 kB / 427.9 MB, free: 42.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.4101, allocations: 19.59 kB / 427.9 MB, free: 42.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.4101, allocations: 16.16 kB / 427.9 MB, free: 42.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.299e-05/0.4102, allocations: 66.41 kB / 428 MB, free: 42.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4102, allocations: 3.219 kB / 428 MB, free: 42.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.896e-05/0.4103, allocations: 81.23 kB / 428.1 MB, free: 42.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.4103, allocations: 3.094 kB / 428.1 MB, free: 42.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4103, allocations: 4 kB / 428.1 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.475e-06/0.4103, allocations: 3 kB / 428.1 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.4104, allocations: 3.031 kB / 428.1 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.4104, allocations: 2.344 kB / 428.1 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.4104, allocations: 3.25 kB / 428.1 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.4104, allocations: 7.094 kB / 428.1 MB, free: 42.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.306e-05/0.4105, allocations: 112.3 kB / 428.2 MB, free: 42.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.4105, allocations: 6.969 kB / 428.2 MB, free: 42.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.4107, allocations: 239.6 kB / 428.4 MB, free: 42.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001354/0.4109, allocations: 189.6 kB / 428.6 MB, free: 42.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4109, allocations: 1.406 kB / 428.6 MB, free: 42.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4109, allocations: 3.422 kB / 428.6 MB, free: 42.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.4113, allocations: 0.5604 MB / 429.2 MB, free: 42.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4113, allocations: 0 / 429.2 MB, free: 42.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.4114, allocations: 34.02 kB / 429.2 MB, free: 42.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4114, allocations: 0 / 429.2 MB, free: 42.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4114, allocations: 7.938 kB / 429.2 MB, free: 42.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4114, allocations: 3.188 kB / 429.2 MB, free: 42.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4114, allocations: 0 / 429.2 MB, free: 42.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.4116, allocations: 285.6 kB / 429.5 MB, free: 42.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.4116, allocations: 87.89 kB / 429.6 MB, free: 42.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4116, allocations: 3.938 kB / 429.6 MB, free: 42.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.4117, allocations: 6.281 kB / 429.6 MB, free: 42.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.4117, allocations: 7.812 kB / 429.6 MB, free: 42.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.4117, allocations: 10.78 kB / 429.6 MB, free: 42.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.327e-06/0.4117, allocations: 75.28 kB / 429.7 MB, free: 42.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4117, allocations: 2.938 kB / 429.7 MB, free: 42.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00023/0.412, allocations: 32.84 kB / 429.7 MB, free: 42.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fluid.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004313/0.4124, allocations: 0.869 MB / 430.6 MB, free: 41.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.4126, allocations: 151.5 kB / 430.7 MB, free: 41.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4126, allocations: 1.094 kB / 430.7 MB, free: 41.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.4127, allocations: 89 kB / 430.8 MB, free: 41.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.4132, allocations: 71.88 kB / 430.9 MB, free: 41.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.4137, allocations: 439.9 kB / 431.3 MB, free: 41.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.4139, allocations: 0.718 MB / 432 MB, free: 40.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.4139, allocations: 13.81 kB / 432.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.414, allocations: 43.58 kB / 432.1 MB, free: 40.32 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.414, allocations: 0 / 432.1 MB, free: 40.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.4258, allocations: 4.319 MB / 436.4 MB, free: 39.87 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.4259, allocations: 242.4 kB / 436.7 MB, free: 39.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.209, allocations: 5.469 kB / 436.7 MB, free: 39.62 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_state.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1)