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.001273/0.001273, 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.001175/0.001175, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1238/0.1238, allocations: 2.757 MB / 293.2 MB, free: 3.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 71.89 kB / 354.5 MB, free: 4.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.1011, allocations: 50.23 MB / 404.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.2007/0.3019, allocations: 18.87 MB / 423.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.3046, allocations: 3.529 MB / 427.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.3047, allocations: 3.688 kB / 427.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.3056, allocations: 299.7 kB / 427.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.3058, allocations: 90.06 kB / 427.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.3076, allocations: 0.5935 MB / 428.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3078, allocations: 179.3 kB / 428.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.256e-05/0.3079, allocations: 25.86 kB / 428.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.3079, allocations: 52.19 kB / 428.4 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.308, allocations: 65.48 kB / 428.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.3081, allocations: 3.062 kB / 428.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2725/0.5805, allocations: 41.77 MB / 470.2 MB, free: 17.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.5806, allocations: 19.25 kB / 470.2 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.5808, allocations: 85.8 kB / 470.3 MB, free: 17.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.582, allocations: 361.7 kB / 470.7 MB, free: 17.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.582, allocations: 0 / 470.7 MB, free: 17.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.582, allocations: 1.469 kB / 470.7 MB, free: 17.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.582, allocations: 0 / 470.7 MB, free: 17.03 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.000475/0.5825, allocations: 486.2 kB / 471.1 MB, free: 16.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.5825, allocations: 16.69 kB / 471.2 MB, free: 16.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.5826, allocations: 51.77 kB / 471.2 MB, free: 16.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.5827, allocations: 33.36 kB / 471.2 MB, free: 16.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.356e-05/0.5828, allocations: 183.3 kB / 471.4 MB, free: 16.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.5828, allocations: 5.438 kB / 471.4 MB, free: 16.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.5828, allocations: 9.281 kB / 471.4 MB, free: 16.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.5831, allocations: 232.9 kB / 471.7 MB, free: 16.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5831, allocations: 1.406 kB / 471.7 MB, free: 16.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.5831, allocations: 3.562 kB / 471.7 MB, free: 16.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.5832, allocations: 13.19 kB / 471.7 MB, free: 16.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.5834, allocations: 273.5 kB / 471.9 MB, free: 16.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.584, allocations: 0.615 MB / 472.6 MB, free: 16.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.5842, allocations: 252.6 kB / 472.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.5844, allocations: 241 kB / 473 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.5844, allocations: 24.44 kB / 473.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.5845, allocations: 43.27 kB / 473.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.533e-06/0.5845, allocations: 0 / 473.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002533/0.587, allocations: 0.6787 MB / 473.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.587, allocations: 52.53 kB / 473.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/0.5871, allocations: 100.4 kB / 473.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.5871, allocations: 26.8 kB / 474 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.5871, allocations: 95.14 kB / 474.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.5872, allocations: 204.4 kB / 474.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.5873, allocations: 52.55 kB / 474.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.5873, allocations: 329.9 kB / 474.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.5875, allocations: 165.5 kB / 474.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.5876, allocations: 222.6 kB / 475 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.588, allocations: 417.9 kB / 475.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.588, allocations: 1.125 kB / 475.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004067/0.5884, allocations: 456 kB / 475.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5884, allocations: 5.531 kB / 475.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5884, allocations: 1.125 kB / 475.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.5884, allocations: 5.375 kB / 475.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.5885, allocations: 13.98 kB / 475.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5885, allocations: 5.344 kB / 475.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.445e-05/0.5886, allocations: 29.69 kB / 475.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.5886, allocations: 6.625 kB / 475.9 MB, free: 14.09 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 6.944e-05/0.5887, allocations: 125.4 kB / 476.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.5887, allocations: 17.22 kB / 476.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.5892, allocations: 445.5 kB / 476.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5892, allocations: 16.45 kB / 476.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5892, allocations: 1.094 kB / 476.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5892, allocations: 4 kB / 476.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.5895, allocations: 339.3 kB / 476.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5895, allocations: 0 / 476.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.5895, allocations: 9.438 kB / 476.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5895, allocations: 1.312 kB / 476.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.5895, allocations: 1.188 kB / 476.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5895, allocations: 3.938 kB / 476.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5895, allocations: 1.094 kB / 476.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.5899, allocations: 0.5399 MB / 477.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.59, allocations: 103.8 kB / 477.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.59, allocations: 1.219 kB / 477.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.5901, allocations: 7.938 kB / 477.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.5901, allocations: 7.328 kB / 477.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.5901, allocations: 1.594 kB / 477.5 MB, free: 13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.97e-05/0.5902, allocations: 77.94 kB / 477.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5902, allocations: 3.938 kB / 477.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.5906, allocations: 103.5 kB / 477.7 MB, free: 12.9 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.001033/0.5916, allocations: 1.319 MB / 479 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.5921, allocations: 492.5 kB / 479.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5921, allocations: 0 / 479.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.5923, allocations: 306.2 kB / 479.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/0.5931, allocations: 137.7 kB / 479.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009037/0.5941, allocations: 0.67 MB / 480.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.5942, allocations: 0.7641 MB / 481.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.5944, allocations: 23.39 kB / 481.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.5945, allocations: 72.36 kB / 481.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5945, allocations: 1.281 kB / 481.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.6268, allocations: 11.68 MB / 493.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.545, allocations: 5.125 kB / 493.2 MB, free: 7.586 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)