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.0009813/0.0009813, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009618/0.0009618, allocations: 190.6 kB / 16.14 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.115/0.115, allocations: 2.767 MB / 292.7 MB, free: 3.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 55.91 kB / 353.8 MB, free: 4.949 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07436/0.07546, allocations: 50.25 MB / 404.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.1521/0.2276, allocations: 18.83 MB / 422.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.2299, allocations: 3.51 MB / 426.4 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.23, allocations: 8.156 kB / 426.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.2306, allocations: 278.3 kB / 426.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2307, allocations: 77.95 kB / 426.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.2318, allocations: 0.5546 MB / 427.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2319, allocations: 182.7 kB / 427.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.2319, allocations: 16.78 kB / 427.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.232, allocations: 59.73 kB / 427.6 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.2321, allocations: 70.83 kB / 427.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.2321, allocations: 0 / 427.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5479/0.78, allocations: 38.4 MB / 466 MB, free: 20.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.7801, allocations: 18.84 kB / 466 MB, free: 20.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.7802, allocations: 85.12 kB / 466.1 MB, free: 20.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009371/0.7812, allocations: 358.8 kB / 466.5 MB, free: 20.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7812, allocations: 0 / 466.5 MB, free: 20.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.7812, allocations: 0 / 466.5 MB, free: 20.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.7812, allocations: 0 / 466.5 MB, free: 20.07 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.0004563/0.7817, allocations: 495.2 kB / 467 MB, free: 19.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7817, allocations: 8.969 kB / 467 MB, free: 19.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.7818, allocations: 57.77 kB / 467 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.7819, allocations: 33.89 kB / 467.1 MB, free: 19.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.428e-05/0.7819, allocations: 182 kB / 467.2 MB, free: 19.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.782, allocations: 2.875 kB / 467.2 MB, free: 19.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.782, allocations: 12.19 kB / 467.3 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.7822, allocations: 234.5 kB / 467.5 MB, free: 19.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.7823, allocations: 1.469 kB / 467.5 MB, free: 19.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.7823, allocations: 6.25 kB / 467.5 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.7823, allocations: 14.53 kB / 467.5 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.7825, allocations: 276.5 kB / 467.8 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.7831, allocations: 0.6017 MB / 468.4 MB, free: 19.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.7834, allocations: 256.3 kB / 468.6 MB, free: 19.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.7835, allocations: 236.4 kB / 468.9 MB, free: 19.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.718e-05/0.7836, allocations: 23.2 kB / 468.9 MB, free: 19.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.7836, allocations: 35.12 kB / 468.9 MB, free: 18.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.874e-06/0.7836, allocations: 3.984 kB / 468.9 MB, free: 18.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.0006179/0.7842, allocations: 0.6836 MB / 469.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.7843, allocations: 52.88 kB / 469.7 MB, free: 18.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.055e-05/0.7843, allocations: 97.56 kB / 469.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.7843, allocations: 29.7 kB / 469.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.7844, allocations: 104.6 kB / 469.9 MB, free: 18.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.7844, allocations: 201.1 kB / 470.1 MB, free: 18.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.7845, allocations: 55.02 kB / 470.1 MB, free: 18.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.7845, allocations: 330.9 kB / 470.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.7847, allocations: 165.4 kB / 470.6 MB, free: 17.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.7849, allocations: 214.2 kB / 470.8 MB, free: 17.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.7852, allocations: 419.7 kB / 471.2 MB, free: 17.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7852, allocations: 4.469 kB / 471.2 MB, free: 17.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004173/0.7856, allocations: 448.5 kB / 471.7 MB, free: 17.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.7857, allocations: 8.594 kB / 471.7 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7857, allocations: 1 kB / 471.7 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7857, allocations: 5.469 kB / 471.7 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.7858, allocations: 16.97 kB / 471.7 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7858, allocations: 2.156 kB / 471.7 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.7858, allocations: 33.28 kB / 471.7 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.7859, allocations: 4.375 kB / 471.7 MB, free: 17.32 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 7e-05/0.7859, allocations: 123.5 kB / 471.9 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.786, allocations: 17.75 kB / 471.9 MB, free: 17.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.7865, allocations: 0.5159 MB / 472.4 MB, free: 16.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003857/0.7869, allocations: 460.6 kB / 472.9 MB, free: 16.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7869, allocations: 1.344 kB / 472.9 MB, free: 16.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7869, allocations: 3.469 kB / 472.9 MB, free: 16.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009057/0.7878, allocations: 1.096 MB / 474 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.7878, allocations: 3.281 kB / 474 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.7879, allocations: 32.25 kB / 474 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.7879, allocations: 9.281 kB / 474 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.788, allocations: 12.81 kB / 474 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.788, allocations: 8.125 kB / 474 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.788, allocations: 5.594 kB / 474 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.7884, allocations: 0.6473 MB / 474.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.7885, allocations: 119.6 kB / 474.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.7885, allocations: 10.59 kB / 474.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.7886, allocations: 7.719 kB / 474.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.7887, allocations: 28.34 kB / 474.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.7887, allocations: 7.219 kB / 474.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.7887, allocations: 109.7 kB / 474.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7888, allocations: 1.156 kB / 474.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004521/0.7892, allocations: 106.2 kB / 475.1 MB, free: 15.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001492/0.7907, allocations: 1.463 MB / 476.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.7912, allocations: 498.6 kB / 477 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7912, allocations: 0 / 477 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.7914, allocations: 270 kB / 477.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.7923, allocations: 147.2 kB / 477.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.7952, allocations: 3.688 MB / 481.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.7954, allocations: 0.7639 MB / 481.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.7955, allocations: 20.02 kB / 481.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.7956, allocations: 78.53 kB / 482 MB, free: 10.49 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.7956, allocations: 0 / 482 MB, free: 10.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.8191, allocations: 11.36 MB / 493.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001234/0.8192, allocations: 234.1 kB / 493.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.771, allocations: 3.938 kB / 493.5 MB, free: 6.52 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1)