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.0006353/0.0006352, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00521/0.005211, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1331/0.1331, allocations: 2.787 MB / 294.2 MB, free: 4.219 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 12 kB / 356.3 MB, free: 3.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1049, allocations: 51.25 MB / 407.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.193/0.298, allocations: 18.24 MB / 425.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.3003, allocations: 3.456 MB / 429.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.3004, allocations: 0 / 429.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005923/0.301, allocations: 279.1 kB / 429.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.3011, allocations: 88.64 kB / 429.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3023, allocations: 0.5491 MB / 430.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3024, allocations: 177.8 kB / 430.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.3025, allocations: 17.88 kB / 430.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.3025, allocations: 53 kB / 430.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.3026, allocations: 75.91 kB / 430.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3026, allocations: 0 / 430.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5766/0.8792, allocations: 38.41 MB / 468.9 MB, free: 18.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.8793, allocations: 18.7 kB / 468.9 MB, free: 18.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.8794, allocations: 108.5 kB / 469 MB, free: 18.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.8806, allocations: 365.5 kB / 469.4 MB, free: 18.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8806, allocations: 1.062 kB / 469.4 MB, free: 18.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.8806, allocations: 0 / 469.4 MB, free: 18.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.8806, allocations: 4 kB / 469.4 MB, free: 18.75 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.0004572/0.8811, allocations: 470.8 kB / 469.9 MB, free: 18.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.8811, allocations: 13.08 kB / 469.9 MB, free: 18.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.8812, allocations: 56.83 kB / 469.9 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.8813, allocations: 33.77 kB / 470 MB, free: 18.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.8816, allocations: 176.5 kB / 470.1 MB, free: 18.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.8816, allocations: 6.5 kB / 470.1 MB, free: 18.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.8817, allocations: 11.12 kB / 470.1 MB, free: 18.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.8821, allocations: 240.5 kB / 470.4 MB, free: 18.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.8821, allocations: 0 / 470.4 MB, free: 18.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.8821, allocations: 0 / 470.4 MB, free: 18.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.8821, allocations: 13.88 kB / 470.4 MB, free: 18.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.8824, allocations: 270 kB / 470.7 MB, free: 18.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/0.8832, allocations: 0.6048 MB / 471.3 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.8835, allocations: 260.2 kB / 471.5 MB, free: 17.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.8837, allocations: 233.2 kB / 471.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-05/0.8838, allocations: 21.12 kB / 471.8 MB, free: 17.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.8839, allocations: 39.34 kB / 471.8 MB, free: 17.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.765e-06/0.8839, allocations: 0 / 471.8 MB, free: 17.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00128/0.8852, allocations: 0.681 MB / 472.5 MB, free: 17.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/0.8853, allocations: 52.59 kB / 472.5 MB, free: 17.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.8855, allocations: 105.3 kB / 472.6 MB, free: 17.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.8856, allocations: 34.7 kB / 472.7 MB, free: 17.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.8857, allocations: 92.17 kB / 472.8 MB, free: 17.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.8859, allocations: 200.8 kB / 473 MB, free: 17.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.8861, allocations: 42.44 kB / 473 MB, free: 17.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8862, allocations: 333.4 kB / 473.3 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.8866, allocations: 162.1 kB / 473.5 MB, free: 16.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.8874, allocations: 219.6 kB / 473.7 MB, free: 16.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.8879, allocations: 419.4 kB / 474.1 MB, free: 16.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8879, allocations: 0 / 474.1 MB, free: 16.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004875/0.8884, allocations: 450.8 kB / 474.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8884, allocations: 5.125 kB / 474.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8884, allocations: 1.031 kB / 474.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.8884, allocations: 9.188 kB / 474.6 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.8885, allocations: 21.42 kB / 474.6 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8885, allocations: 1.219 kB / 474.6 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.384e-05/0.8886, allocations: 29.16 kB / 474.6 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.8886, allocations: 4.438 kB / 474.6 MB, free: 16.62 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 8.467e-05/0.8887, allocations: 122.7 kB / 474.7 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.8888, allocations: 20.38 kB / 474.8 MB, free: 16.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/0.8893, allocations: 0.5206 MB / 475.3 MB, free: 16.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004122/0.8897, allocations: 454.5 kB / 475.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8898, allocations: 0 / 475.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8898, allocations: 4.656 kB / 475.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.8908, allocations: 1.097 MB / 476.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.8908, allocations: 2.719 kB / 476.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.196e-05/0.8909, allocations: 33.59 kB / 476.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.8909, allocations: 12.47 kB / 476.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.8909, allocations: 9.719 kB / 476.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.8909, allocations: 8.219 kB / 476.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.8909, allocations: 8.312 kB / 476.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.8914, allocations: 0.657 MB / 477.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.8915, allocations: 124.4 kB / 477.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.8915, allocations: 12.31 kB / 477.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.8916, allocations: 7.406 kB / 477.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.8917, allocations: 20.83 kB / 477.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.8917, allocations: 17.56 kB / 477.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.005e-05/0.8918, allocations: 107.1 kB / 477.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8918, allocations: 0 / 477.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004714/0.8922, allocations: 106.4 kB / 477.9 MB, free: 14.91 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.001109/0.8934, allocations: 1.453 MB / 479.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005046/0.8939, allocations: 0.4937 MB / 479.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8939, allocations: 1.062 kB / 479.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.8942, allocations: 272.3 kB / 480.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.8952, allocations: 149.8 kB / 480.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.898, allocations: 3.717 MB / 484 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.8982, allocations: 0.7674 MB / 484.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.8983, allocations: 20.69 kB / 484.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.8984, allocations: 73.38 kB / 484.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.8984, allocations: 1.375 kB / 484.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.9202, allocations: 10.9 MB / 495.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.9204, allocations: 229.4 kB / 496 MB, free: 6.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/3.026, allocations: 3.938 kB / 496 MB, free: 6.617 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)