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.007813/0.007813, 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.001971/0.001971, 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1088/0.1088, allocations: 2.761 MB / 293.3 MB, free: 3.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 59.91 kB / 405.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2457, allocations: 50.23 MB / 455.6 MB, free: 20.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01403/0.2598, allocations: 18.89 MB / 474.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2621, allocations: 3.521 MB / 478.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.2622, allocations: 0 / 478.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007246/0.263, allocations: 307.2 kB / 478.4 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.2631, allocations: 79.17 kB / 478.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.2645, allocations: 0.6005 MB / 479 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.2647, allocations: 181.4 kB / 479.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.2648, allocations: 18.69 kB / 479.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.2648, allocations: 50.69 kB / 479.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.2649, allocations: 69.11 kB / 479.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.2649, allocations: 1.375 kB / 479.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3334/0.5983, allocations: 42.13 MB / 0.5093 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.5984, allocations: 15.88 kB / 0.5093 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.5985, allocations: 75.56 kB / 0.5093 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.5999, allocations: 374.7 kB / 0.5097 GB, free: 3.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.5999, allocations: 0 / 0.5097 GB, free: 3.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5999, allocations: 0 / 0.5097 GB, free: 3.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.5999, allocations: 7.938 kB / 0.5097 GB, free: 3.832 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.0006674/0.6006, allocations: 494.2 kB / 0.5102 GB, free: 3.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.6006, allocations: 8.031 kB / 0.5102 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.6007, allocations: 54.72 kB / 0.5102 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.6008, allocations: 32.78 kB / 0.5103 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.601, allocations: 176.2 kB / 0.5104 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.601, allocations: 12.12 kB / 0.5105 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.601, allocations: 4 kB / 0.5105 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.6013, allocations: 240.9 kB / 0.5107 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6014, allocations: 3.938 kB / 0.5107 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.6014, allocations: 4 kB / 0.5107 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.6014, allocations: 7.984 kB / 0.5107 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.6017, allocations: 272.5 kB / 0.511 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.6025, allocations: 0.6154 MB / 0.5116 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.6028, allocations: 255 kB / 0.5118 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.603, allocations: 241.9 kB / 0.512 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.6031, allocations: 27.92 kB / 0.5121 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.6032, allocations: 30.56 kB / 0.5121 GB, free: 1.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.764e-06/0.6032, allocations: 0 / 0.5121 GB, free: 1.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002811/0.606, allocations: 0.6779 MB / 0.5128 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.6061, allocations: 51.41 kB / 0.5128 GB, free: 496 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.6062, allocations: 109.7 kB / 0.5129 GB, free: 376 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.6062, allocations: 25.7 kB / 0.5129 GB, free: 344 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.6062, allocations: 93.41 kB / 0.513 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.6064, allocations: 218.1 kB / 0.5132 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.6065, allocations: 49.69 kB / 0.5133 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6067, allocations: 326.8 kB / 0.5136 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.6068, allocations: 168.5 kB / 0.5137 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.6071, allocations: 214.7 kB / 0.514 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.6075, allocations: 428.2 kB / 0.5144 GB, free: 14.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6075, 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.0005261/0.6081, allocations: 455.4 kB / 0.5148 GB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6081, allocations: 8 kB / 0.5148 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.6081, allocations: 3.938 kB / 0.5148 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6081, allocations: 4.094 kB / 0.5148 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.6082, allocations: 19.94 kB / 0.5148 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6082, allocations: 0 / 0.5148 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.6083, allocations: 27.73 kB / 0.5149 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.6083, 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.0001224/0.6085, allocations: 123.4 kB / 0.515 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.6085, allocations: 19.86 kB / 0.515 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.6091, allocations: 449.3 kB / 0.5154 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.6091, allocations: 11.98 kB / 0.5154 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6091, allocations: 0 / 0.5154 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6091, allocations: 0 / 0.5154 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.6095, allocations: 333.9 kB / 0.5158 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6095, allocations: 0 / 0.5158 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.6096, allocations: 4 kB / 0.5158 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6096, allocations: 0 / 0.5158 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.6096, allocations: 11.92 kB / 0.5158 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.6096, allocations: 0 / 0.5158 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6096, allocations: 80 / 0.5158 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.6102, allocations: 0.5454 MB / 0.5163 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.617e-05/0.6103, allocations: 108.7 kB / 0.5164 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.6103, allocations: 11.94 kB / 0.5164 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.6104, allocations: 0 / 0.5164 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.6104, allocations: 7.938 kB / 0.5164 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.6104, allocations: 3.984 kB / 0.5164 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.63e-05/0.6105, allocations: 79.28 kB / 0.5165 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6105, allocations: 0 / 0.5165 GB, free: 12.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.6109, allocations: 107.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.001501/0.6124, allocations: 1.331 MB / 0.5179 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.613, allocations: 486 kB / 0.5184 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.613, allocations: 4 kB / 0.5184 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.6133, allocations: 312.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.0008095/0.6141, allocations: 124.2 kB / 0.5188 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.6152, allocations: 0.6686 MB / 0.5194 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.6156, allocations: 0.7689 MB / 0.5202 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.6157, allocations: 24.58 kB / 0.5202 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.6158, allocations: 67.42 kB / 0.5203 GB, free: 8.527 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6158, allocations: 0 / 0.5203 GB, free: 8.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.6524, allocations: 11.82 MB / 0.5318 GB, free: 12.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/9.078, allocations: 7.922 kB / 0.5318 GB, free: 12.75 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 & /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)