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.006845/0.006845, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001687/0.001687, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1098/0.1098, allocations: 2.762 MB / 293.3 MB, free: 3.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.84 kB / 405.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2538, allocations: 50.23 MB / 455.6 MB, free: 20.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01379/0.2676, allocations: 18.89 MB / 474.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.27, allocations: 3.533 MB / 478.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.2702, allocations: 0 / 478.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006801/0.2708, allocations: 298.3 kB / 478.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.271, allocations: 87.28 kB / 478.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2724, allocations: 0.5942 MB / 479 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.2726, allocations: 188.9 kB / 479.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.2727, allocations: 14.64 kB / 479.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.2727, allocations: 54.86 kB / 479.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.68e-05/0.2728, allocations: 64.69 kB / 479.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.2728, allocations: 2.688 kB / 479.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2475/0.5204, allocations: 42.14 MB / 0.5093 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.5204, allocations: 15.88 kB / 0.5093 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.5207, allocations: 79.55 kB / 0.5093 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.5223, allocations: 367 kB / 0.5097 GB, free: 3.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5223, allocations: 0 / 0.5097 GB, free: 3.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5223, allocations: 3.938 kB / 0.5097 GB, free: 3.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.5224, allocations: 3.984 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.0006473/0.523, allocations: 482.9 kB / 0.5102 GB, free: 3.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5231, allocations: 12.03 kB / 0.5102 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.766e-05/0.5232, allocations: 62.72 kB / 0.5102 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.5233, allocations: 28.64 kB / 0.5103 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.5234, allocations: 180.1 kB / 0.5104 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.5235, allocations: 12.12 kB / 0.5104 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.5235, allocations: 4 kB / 0.5104 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.5238, allocations: 236.9 kB / 0.5107 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5238, allocations: 0 / 0.5107 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5239, allocations: 4 kB / 0.5107 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5239, allocations: 11.98 kB / 0.5107 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.5241, allocations: 276.4 kB / 0.511 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007413/0.5249, allocations: 0.608 MB / 0.5115 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.5252, allocations: 255 kB / 0.5118 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.5253, allocations: 233.9 kB / 0.512 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.5254, allocations: 28.05 kB / 0.512 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.5255, allocations: 30.56 kB / 0.5121 GB, free: 1.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.633e-06/0.5255, allocations: 4 kB / 0.5121 GB, free: 1.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002927/0.5284, allocations: 0.6816 MB / 0.5127 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.5284, allocations: 55.39 kB / 0.5128 GB, free: 496 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.5285, allocations: 97.86 kB / 0.5129 GB, free: 388 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5285, allocations: 25.7 kB / 0.5129 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.5286, allocations: 97.27 kB / 0.513 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.5287, allocations: 200.9 kB / 0.5132 GB, free: 52 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.5288, allocations: 49.69 kB / 0.5132 GB, free: 16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.5289, allocations: 330.8 kB / 0.5136 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.529, allocations: 172.5 kB / 0.5137 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.5292, allocations: 214.7 kB / 0.5139 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.5296, allocations: 424.2 kB / 0.5143 GB, free: 14.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5296, allocations: 4 kB / 0.5143 GB, free: 14.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004302/0.53, allocations: 455.3 kB / 0.5148 GB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5301, allocations: 4 kB / 0.5148 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5301, allocations: 3.938 kB / 0.5148 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5301, allocations: 4 kB / 0.5148 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.5302, allocations: 8 kB / 0.5148 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5302, allocations: 7.984 kB / 0.5148 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.5303, allocations: 23.59 kB / 0.5148 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.5303, allocations: 8 kB / 0.5148 GB, free: 14.33 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 9.296e-05/0.5304, allocations: 127.4 kB / 0.5149 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.5304, allocations: 15.72 kB / 0.515 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.5309, allocations: 449.2 kB / 0.5154 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5309, allocations: 11.98 kB / 0.5154 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5309, allocations: 3.984 kB / 0.5154 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5309, allocations: 0 / 0.5154 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.5312, allocations: 329.8 kB / 0.5157 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5312, allocations: 0 / 0.5157 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.5313, allocations: 11.98 kB / 0.5157 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5313, allocations: 4 kB / 0.5157 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5313, allocations: 12.12 kB / 0.5157 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5313, allocations: 0 / 0.5157 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5313, allocations: 0 / 0.5157 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.5318, allocations: 0.5374 MB / 0.5163 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.5318, allocations: 112.6 kB / 0.5164 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.5319, allocations: 7.938 kB / 0.5164 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.5319, allocations: 4 kB / 0.5164 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.532, allocations: 7.984 kB / 0.5164 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.532, allocations: 4 kB / 0.5164 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.532, allocations: 75.28 kB / 0.5165 GB, free: 12.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.532, allocations: 0 / 0.5165 GB, free: 12.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.5324, allocations: 104 kB / 0.5166 GB, free: 12.44 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.001158/0.5336, allocations: 1.331 MB / 0.5179 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004707/0.5341, allocations: 490 kB / 0.5183 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5341, allocations: 3.938 kB / 0.5183 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.5343, allocations: 296.9 kB / 0.5186 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.535, allocations: 128.3 kB / 0.5188 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.536, allocations: 0.6692 MB / 0.5194 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.5363, allocations: 0.7572 MB / 0.5201 GB, free: 8.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.5364, allocations: 28.56 kB / 0.5202 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.5365, allocations: 75.41 kB / 0.5202 GB, free: 8.562 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5365, allocations: 4 kB / 0.5202 GB, free: 8.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.5693, allocations: 11.81 MB / 0.5318 GB, free: 12.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.681, allocations: 12.05 kB / 0.5318 GB, free: 12.79 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)