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.001059/0.001062, allocations: 108 kB / 15.6 MB, free: 132 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.00115/0.00115, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1113/0.1113, allocations: 2.756 MB / 293.2 MB, free: 3.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.89 kB / 354.5 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09483, allocations: 50.23 MB / 404.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.1746/0.2694, allocations: 18.87 MB / 423.6 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.2718, allocations: 3.528 MB / 427.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.353e-05/0.2719, allocations: 0 / 427.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.2725, allocations: 302.7 kB / 427.4 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.2726, allocations: 83.52 kB / 427.5 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.2738, allocations: 0.5978 MB / 428.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.274, allocations: 180 kB / 428.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.25e-05/0.2741, allocations: 22.61 kB / 428.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.2741, allocations: 54.28 kB / 428.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.064e-05/0.2742, allocations: 68.73 kB / 428.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2743, allocations: 0 / 428.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.232/0.5063, allocations: 41.76 MB / 470.2 MB, free: 17.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.5064, allocations: 20.3 kB / 470.2 MB, free: 17.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.5066, allocations: 84.97 kB / 470.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.5078, allocations: 368.6 kB / 470.7 MB, free: 16.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5078, allocations: 0 / 470.7 MB, free: 16.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5078, allocations: 4 kB / 470.7 MB, free: 16.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.5078, allocations: 1.344 kB / 470.7 MB, free: 16.98 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0004651/0.5083, allocations: 489 kB / 471.1 MB, free: 16.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5083, allocations: 9.312 kB / 471.2 MB, free: 16.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.5084, allocations: 54.97 kB / 471.2 MB, free: 16.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.5085, allocations: 31.22 kB / 471.2 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.355e-05/0.5086, allocations: 178.1 kB / 471.4 MB, free: 16.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5086, allocations: 7.375 kB / 471.4 MB, free: 16.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.5086, allocations: 7.312 kB / 471.4 MB, free: 16.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.5089, allocations: 242.7 kB / 471.7 MB, free: 16.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5089, allocations: 2.812 kB / 471.7 MB, free: 16.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5089, allocations: 3.438 kB / 471.7 MB, free: 16.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.509, allocations: 14.7 kB / 471.7 MB, free: 16.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.5092, allocations: 272.2 kB / 472 MB, free: 16.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.5098, allocations: 0.6053 MB / 472.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.5101, allocations: 258.8 kB / 472.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.5103, allocations: 237.7 kB / 473 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.5103, allocations: 23.94 kB / 473.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.5104, allocations: 39.55 kB / 473.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.483e-06/0.5104, allocations: 1.219 kB / 473.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002793/0.5132, allocations: 0.6832 MB / 473.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.5132, allocations: 52.47 kB / 473.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.102e-05/0.5133, allocations: 106.1 kB / 473.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.5133, allocations: 25.7 kB / 474 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.5133, allocations: 95.48 kB / 474.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.5134, allocations: 197.5 kB / 474.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.5135, allocations: 48.09 kB / 474.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.5135, allocations: 331.5 kB / 474.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.5137, allocations: 168.8 kB / 474.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.5139, allocations: 227.5 kB / 475 MB, free: 14.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.5142, allocations: 421 kB / 475.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5142, allocations: 1.406 kB / 475.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004208/0.5146, allocations: 451.4 kB / 475.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5147, allocations: 5 kB / 475.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5147, allocations: 5.25 kB / 475.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5147, allocations: 5.375 kB / 475.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.5148, allocations: 13.89 kB / 475.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5148, allocations: 1.375 kB / 475.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.5149, allocations: 25 kB / 475.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.5149, allocations: 5.25 kB / 475.9 MB, free: 14.04 MB / 350.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 7.64e-05/0.515, allocations: 123.4 kB / 476 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.515, allocations: 24.53 kB / 476.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.5155, allocations: 446.2 kB / 476.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.5155, allocations: 13.78 kB / 476.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5155, allocations: 1.094 kB / 476.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5155, allocations: 0 / 476.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.5158, allocations: 339.3 kB / 476.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5158, allocations: 4.062 kB / 476.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.5159, allocations: 5.125 kB / 476.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5159, allocations: 0.9062 kB / 476.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.5159, allocations: 1.125 kB / 476.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5159, allocations: 5.062 kB / 476.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5159, allocations: 4 kB / 476.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.5163, allocations: 0.5353 MB / 477.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.5164, allocations: 102.4 kB / 477.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.5164, allocations: 8.781 kB / 477.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.5165, allocations: 3.938 kB / 477.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.5165, allocations: 8.297 kB / 477.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.5165, allocations: 1.5 kB / 477.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.928e-05/0.5165, allocations: 81.88 kB / 477.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5165, allocations: 0 / 477.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.517, allocations: 102.1 kB / 477.7 MB, free: 12.85 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: 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.001105/0.5181, allocations: 1.33 MB / 479 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005072/0.5186, allocations: 496 kB / 479.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5186, allocations: 7.938 kB / 479.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.5188, allocations: 298 kB / 479.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.5196, allocations: 134.3 kB / 480 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000871/0.5205, allocations: 0.6626 MB / 480.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.5207, allocations: 0.7645 MB / 481.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.5208, allocations: 23.72 kB / 481.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.5209, allocations: 73.84 kB / 481.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5209, allocations: 0 / 481.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.552, allocations: 11.69 MB / 493.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.344, allocations: 13.12 kB / 493.2 MB, free: 7.531 MB / 350.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)