Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.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.Misc.RhoSmoothing,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing",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.005282/0.005282, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001321/0.001321, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1199/0.1199, allocations: 2.762 MB / 293.3 MB, free: 3.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.91 kB / 405.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2452, allocations: 50.23 MB / 455.6 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01637/0.2616, allocations: 18.89 MB / 474.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2639, allocations: 3.525 MB / 478.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.264, allocations: 0 / 478.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.2648, allocations: 306.2 kB / 478.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.2649, allocations: 86.84 kB / 478.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2664, allocations: 0.5931 MB / 479 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.2666, allocations: 184.8 kB / 479.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.2667, allocations: 15.44 kB / 479.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.2667, allocations: 46.17 kB / 479.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.2668, allocations: 68.83 kB / 479.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2668, allocations: 2.75 kB / 479.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3543/0.6212, allocations: 42.14 MB / 0.5093 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.6212, allocations: 19.86 kB / 0.5093 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.6214, allocations: 83.56 kB / 0.5094 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.6228, allocations: 370.7 kB / 0.5097 GB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6228, allocations: 0 / 0.5097 GB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.6228, allocations: 0 / 0.5097 GB, free: 3.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.6229, allocations: 3.938 kB / 0.5097 GB, free: 3.824 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000692/0.6236, allocations: 494.3 kB / 0.5102 GB, free: 3.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6236, allocations: 8.031 kB / 0.5102 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.6237, allocations: 54.73 kB / 0.5102 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.6238, allocations: 36.77 kB / 0.5103 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.624, allocations: 184.1 kB / 0.5105 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.624, allocations: 8.062 kB / 0.5105 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.624, allocations: 4 kB / 0.5105 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.6244, allocations: 237 kB / 0.5107 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6244, allocations: 3.938 kB / 0.5107 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.6244, allocations: 4 kB / 0.5107 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.6244, allocations: 7.984 kB / 0.5107 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.6248, allocations: 272.5 kB / 0.511 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000794/0.6256, allocations: 0.6159 MB / 0.5116 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.6259, allocations: 251.1 kB / 0.5118 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.6262, allocations: 237.9 kB / 0.512 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-05/0.6263, allocations: 19.98 kB / 0.5121 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.6263, allocations: 34.56 kB / 0.5121 GB, free: 1.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.543e-06/0.6263, allocations: 0 / 0.5121 GB, free: 1.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002651/0.629, allocations: 0.6818 MB / 0.5128 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.629, allocations: 59.41 kB / 0.5128 GB, free: 480 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.6291, allocations: 101.8 kB / 0.5129 GB, free: 368 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.6291, allocations: 29.7 kB / 0.5129 GB, free: 332 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.6292, allocations: 85.41 kB / 0.513 GB, free: 244 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.6294, allocations: 214.1 kB / 0.5132 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.593e-05/0.6295, allocations: 49.78 kB / 0.5133 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6296, allocations: 334.8 kB / 0.5136 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.6298, allocations: 168.5 kB / 0.5137 GB, free: 15.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.6301, allocations: 214.7 kB / 0.514 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.6305, allocations: 424.2 kB / 0.5144 GB, free: 14.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.6305, allocations: 3.938 kB / 0.5144 GB, free: 14.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005327/0.6311, allocations: 459.4 kB / 0.5148 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6311, allocations: 4 kB / 0.5148 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.6311, allocations: 11.94 kB / 0.5148 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6311, allocations: 0 / 0.5148 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.6312, allocations: 15.94 kB / 0.5148 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.6313, allocations: 0 / 0.5148 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.6313, allocations: 27.73 kB / 0.5149 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.6314, allocations: 4 kB / 0.5149 GB, free: 14.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (state_tbl.phase,state_spl.phase,state_std.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.000114/0.6315, allocations: 131.5 kB / 0.515 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.6315, allocations: 16.05 kB / 0.515 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/0.6321, allocations: 449.2 kB / 0.5154 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.6321, allocations: 11.97 kB / 0.5154 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6321, allocations: 0 / 0.5154 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6321, allocations: 0 / 0.5154 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.6325, allocations: 333.9 kB / 0.5158 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6325, allocations: 0 / 0.5158 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.6326, allocations: 8 kB / 0.5158 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6326, allocations: 0 / 0.5158 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.6326, allocations: 7.938 kB / 0.5158 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6326, allocations: 4 kB / 0.5158 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.6326, allocations: 3.984 kB / 0.5158 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.6332, allocations: 0.5336 MB / 0.5163 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.6333, allocations: 116.7 kB / 0.5164 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.6333, allocations: 3.938 kB / 0.5164 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.6334, allocations: 0 / 0.5164 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.6334, allocations: 4 kB / 0.5164 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.6334, allocations: 12 kB / 0.5164 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.981e-05/0.6335, allocations: 83.27 kB / 0.5165 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6335, allocations: 0 / 0.5165 GB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.6339, allocations: 95.8 kB / 0.5166 GB, free: 12.41 MB / 398.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: 3 (state_std.phase,state_spl.phase,state_tbl.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002362/0.6363, allocations: 1.339 MB / 0.5179 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005927/0.6369, allocations: 494.1 kB / 0.5184 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.6369, allocations: 0 / 0.5184 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.6372, allocations: 300.9 kB / 0.5187 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.6381, allocations: 128.1 kB / 0.5188 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.6393, allocations: 0.6725 MB / 0.5194 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.6398, allocations: 0.765 MB / 0.5202 GB, free: 8.617 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.6399, allocations: 24.62 kB / 0.5202 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.64, allocations: 71.42 kB / 0.5203 GB, free: 8.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.64, allocations: 3.938 kB / 0.5203 GB, free: 8.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.6753, allocations: 11.81 MB / 0.5318 GB, free: 12.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/9.281, allocations: 15.98 kB / 0.5318 GB, free: 12.74 MB / 414.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1)