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.00741/0.00741, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001689/0.001689, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.444/1.444, 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.1216/0.1216, allocations: 2.758 MB / 293.3 MB, free: 3.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 59.91 kB / 405.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2917, allocations: 50.23 MB / 455.6 MB, free: 20.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02008/0.3118, allocations: 18.9 MB / 474.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.315, allocations: 3.524 MB / 478.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3151, allocations: 1 kB / 478.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007215/0.3159, allocations: 299.4 kB / 478.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.316, allocations: 85.67 kB / 478.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.3177, allocations: 0.6009 MB / 479 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.318, allocations: 181.1 kB / 479.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.3181, allocations: 15 kB / 479.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.3182, allocations: 50.64 kB / 479.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3183, allocations: 68.88 kB / 479.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3183, allocations: 6.75 kB / 479.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.253/0.5713, allocations: 42.13 MB / 0.5093 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.5714, allocations: 15.88 kB / 0.5093 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.5716, allocations: 87.53 kB / 0.5094 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.5727, allocations: 366.8 kB / 0.5097 GB, free: 3.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5727, allocations: 0 / 0.5097 GB, free: 3.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5727, allocations: 3.938 kB / 0.5097 GB, free: 3.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.5727, allocations: 7.938 kB / 0.5097 GB, free: 3.793 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.0005388/0.5733, allocations: 486.3 kB / 0.5102 GB, free: 3.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5733, allocations: 8.031 kB / 0.5102 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.5734, allocations: 58.72 kB / 0.5102 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.5735, allocations: 36.78 kB / 0.5103 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.5736, allocations: 180.1 kB / 0.5104 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5736, allocations: 4.125 kB / 0.5105 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.5737, allocations: 8 kB / 0.5105 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.574, allocations: 233 kB / 0.5107 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.574, allocations: 7.875 kB / 0.5107 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.574, allocations: 4 kB / 0.5107 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003316/0.5743, allocations: 11.97 kB / 0.5107 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.5746, allocations: 272.5 kB / 0.511 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.5753, allocations: 0.6081 MB / 0.5116 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.5755, allocations: 255.1 kB / 0.5118 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.5757, allocations: 237.9 kB / 0.512 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.5758, allocations: 19.98 kB / 0.512 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.5758, allocations: 38.56 kB / 0.5121 GB, free: 1.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.472e-06/0.5758, allocations: 0 / 0.5121 GB, free: 1.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002753/0.5786, allocations: 0.6818 MB / 0.5127 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.5786, allocations: 55.41 kB / 0.5128 GB, free: 456 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.5787, allocations: 101.8 kB / 0.5129 GB, free: 344 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.5787, allocations: 25.7 kB / 0.5129 GB, free: 312 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.5788, allocations: 93.39 kB / 0.513 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.5789, allocations: 214.1 kB / 0.5132 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.579, allocations: 49.69 kB / 0.5133 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5791, allocations: 334.8 kB / 0.5136 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.5793, allocations: 168.5 kB / 0.5137 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.5795, allocations: 218.7 kB / 0.514 GB, free: 15.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.5799, allocations: 420.2 kB / 0.5144 GB, free: 14.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5799, allocations: 3.938 kB / 0.5144 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004302/0.5803, allocations: 459.4 kB / 0.5148 GB, free: 14.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5803, allocations: 4 kB / 0.5148 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5803, allocations: 7.938 kB / 0.5148 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5804, allocations: 0 / 0.5148 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.5804, allocations: 15.98 kB / 0.5148 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5805, allocations: 0 / 0.5148 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.5805, allocations: 23.92 kB / 0.5148 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.5805, allocations: 4 kB / 0.5148 GB, free: 14.28 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.000139/0.5807, allocations: 131.4 kB / 0.515 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.5807, allocations: 19.84 kB / 0.515 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.5812, allocations: 445.2 kB / 0.5154 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.5812, allocations: 15.97 kB / 0.5154 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5812, allocations: 0 / 0.5154 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5813, allocations: 0 / 0.5154 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.5815, allocations: 329.9 kB / 0.5157 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5816, allocations: 0 / 0.5157 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.5816, allocations: 15.92 kB / 0.5158 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.5816, allocations: 0 / 0.5158 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.5816, allocations: 7.938 kB / 0.5158 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5816, allocations: 4 kB / 0.5158 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5816, allocations: 0 / 0.5158 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.5821, allocations: 0.5376 MB / 0.5163 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.5822, allocations: 112.7 kB / 0.5164 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.5822, allocations: 3.938 kB / 0.5164 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.5823, allocations: 8 kB / 0.5164 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.5823, allocations: 7.984 kB / 0.5164 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.5823, allocations: 4 kB / 0.5164 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.378e-05/0.5823, allocations: 79.28 kB / 0.5165 GB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5824, allocations: 0 / 0.5165 GB, free: 12.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.5827, allocations: 99.8 kB / 0.5166 GB, free: 12.38 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.001141/0.5839, allocations: 1.335 MB / 0.5179 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.5844, allocations: 494 kB / 0.5184 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5844, allocations: 0 / 0.5184 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.5846, allocations: 300.9 kB / 0.5187 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.5854, allocations: 136.2 kB / 0.5188 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.5863, allocations: 0.6725 MB / 0.5194 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.5866, allocations: 0.7611 MB / 0.5202 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.097e-05/0.5867, allocations: 20.64 kB / 0.5202 GB, free: 8.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.5868, allocations: 75.41 kB / 0.5203 GB, free: 8.492 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5868, allocations: 0 / 0.5203 GB, free: 8.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.6154, allocations: 11.82 MB / 0.5318 GB, free: 12.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.869, allocations: 11.98 kB / 0.5318 GB, free: 12.71 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)