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.001246/0.001246, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001255/0.001255, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.244/1.244, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1158/0.1158, allocations: 2.764 MB / 292.8 MB, free: 3.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001196, allocations: 59.91 kB / 354 MB, free: 4.812 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08339/0.0846, allocations: 50.24 MB / 404.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.1613/0.2459, allocations: 18.79 MB / 423 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.2481, allocations: 3.491 MB / 426.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.2482, allocations: 6.312 kB / 426.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.2488, allocations: 284 kB / 426.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.2489, allocations: 72.12 kB / 426.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.25, allocations: 0.5555 MB / 427.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.2502, allocations: 179 kB / 427.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.2502, allocations: 18.98 kB / 427.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.2503, allocations: 57.97 kB / 427.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.2504, allocations: 63.11 kB / 427.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.2504, allocations: 0 / 427.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5649/0.8153, allocations: 41.77 MB / 469.5 MB, free: 16.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.8154, allocations: 17.12 kB / 469.5 MB, free: 16.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.8156, allocations: 83.11 kB / 469.6 MB, free: 16.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.8169, allocations: 361.4 kB / 470 MB, free: 16.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.817, allocations: 0 / 470 MB, free: 16.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.817, allocations: 0 / 470 MB, free: 16.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.817, allocations: 4 kB / 470 MB, free: 16.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.0005024/0.8175, allocations: 491.5 kB / 470.4 MB, free: 16.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.8175, allocations: 9.312 kB / 470.5 MB, free: 16.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.8176, allocations: 54.66 kB / 470.5 MB, free: 16.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.8177, allocations: 34.31 kB / 470.5 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.608e-05/0.8178, allocations: 181.3 kB / 470.7 MB, free: 16.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.8178, allocations: 7.25 kB / 470.7 MB, free: 16.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.8178, allocations: 7.781 kB / 470.7 MB, free: 16.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.8181, allocations: 237.7 kB / 471 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.8181, allocations: 3.281 kB / 471 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.8182, allocations: 1.125 kB / 471 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.8182, allocations: 9.953 kB / 471 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.8184, allocations: 275 kB / 471.3 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.819, allocations: 0.6066 MB / 471.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.8193, allocations: 253.8 kB / 472.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.8194, allocations: 240.7 kB / 472.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-05/0.8195, allocations: 21.92 kB / 472.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.8195, allocations: 31.56 kB / 472.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.683e-06/0.8195, allocations: 0 / 472.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.0006032/0.8201, allocations: 0.6869 MB / 473.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.8202, allocations: 52.59 kB / 473.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.497e-05/0.8202, allocations: 101.6 kB / 473.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.8202, allocations: 29.7 kB / 473.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.8203, allocations: 95.42 kB / 473.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.8203, allocations: 196.9 kB / 473.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.8204, allocations: 55.42 kB / 473.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.8205, allocations: 326.7 kB / 473.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.8206, allocations: 176.9 kB / 474.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.8208, allocations: 214.5 kB / 474.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.8211, allocations: 426.7 kB / 474.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8211, allocations: 0 / 474.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004144/0.8215, allocations: 452.1 kB / 475.2 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.8216, allocations: 6.188 kB / 475.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8216, allocations: 1.312 kB / 475.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8216, allocations: 9.531 kB / 475.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.8217, allocations: 12.98 kB / 475.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.8217, allocations: 1.25 kB / 475.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.8217, allocations: 26.25 kB / 475.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.8218, allocations: 15.61 kB / 475.2 MB, free: 13.96 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 7.113e-05/0.8218, allocations: 119.3 kB / 475.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.8219, allocations: 17.06 kB / 475.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.8224, allocations: 0.5282 MB / 475.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000358/0.8227, allocations: 456.6 kB / 476.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.8227, allocations: 0 / 476.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8227, allocations: 4.75 kB / 476.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.8236, allocations: 1.09 MB / 477.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.8237, allocations: 3.812 kB / 477.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.908e-05/0.8238, allocations: 32.52 kB / 477.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.8238, allocations: 12.22 kB / 477.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.8238, allocations: 9.469 kB / 477.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.8238, allocations: 8.062 kB / 477.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.8238, allocations: 7.984 kB / 477.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.8243, allocations: 0.6508 MB / 478.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.8243, allocations: 106.9 kB / 478.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.8243, allocations: 18.31 kB / 478.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.8245, allocations: 8.062 kB / 478.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.8245, allocations: 20.2 kB / 478.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.8245, allocations: 16.06 kB / 478.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.967e-05/0.8246, allocations: 106.3 kB / 478.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8246, allocations: 0 / 478.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00046/0.825, allocations: 106.2 kB / 478.5 MB, free: 11.93 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.00107/0.8261, allocations: 1.471 MB / 480 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004618/0.8266, allocations: 0.4978 MB / 480.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8266, allocations: 0 / 480.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.8268, allocations: 268.8 kB / 480.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/0.8277, allocations: 151 kB / 480.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.8306, allocations: 3.682 MB / 484.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.8308, allocations: 0.7688 MB / 485.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.831, allocations: 23.41 kB / 485.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.831, allocations: 76.95 kB / 485.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.831, allocations: 0 / 485.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4855/1.317, allocations: 11.67 MB / 497.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/1.317, allocations: 242.3 kB / 497.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/3.728, allocations: 0 / 497.4 MB, free: 2.941 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)