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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 110.7 kB / 16.46 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 216 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01276/0.01276, allocations: 2.798 MB / 311.6 MB, free: 1.473 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 75.89 kB / 433.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09738, allocations: 54.13 MB / 487.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02223/0.1196, allocations: 19.05 MB / 0.4948 GB, free: 6.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.1232, allocations: 3.534 MB / 0.4983 GB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1234, allocations: 0 / 0.4983 GB, free: 2.602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008347/0.1242, allocations: 302.3 kB / 0.4986 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1244, allocations: 79.31 kB / 0.4986 GB, free: 2.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.1261, allocations: 0.6051 MB / 0.4992 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1264, allocations: 178.6 kB / 0.4994 GB, free: 1.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.059e-05/0.1264, allocations: 12.31 kB / 0.4994 GB, free: 1.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.1265, allocations: 59.73 kB / 0.4995 GB, free: 1.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1266, allocations: 67.59 kB / 0.4995 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1266, allocations: 0 / 0.4995 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5747/0.7013, allocations: 42.24 MB / 0.5408 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.7014, allocations: 19.62 kB / 0.5408 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.7016, allocations: 86.5 kB / 0.5409 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.7034, allocations: 372.1 kB / 0.5412 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7034, allocations: 0 / 0.5412 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.7034, allocations: 0 / 0.5412 GB, free: 1.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.7034, allocations: 3.938 kB / 0.5412 GB, free: 1.738 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.0008269/0.7043, allocations: 491.5 kB / 0.5417 GB, free: 1.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.7043, allocations: 11.98 kB / 0.5417 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.7044, allocations: 56.41 kB / 0.5418 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.7052, allocations: 28.59 kB / 0.5418 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.7054, allocations: 189 kB / 0.542 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.7054, allocations: 4.562 kB / 0.542 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.7054, allocations: 9.906 kB / 0.542 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.7058, allocations: 238.7 kB / 0.5422 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.7058, allocations: 3.938 kB / 0.5422 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.7058, allocations: 0 / 0.5422 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.7058, allocations: 15.78 kB / 0.5422 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.7061, allocations: 271.6 kB / 0.5425 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008209/0.7069, allocations: 0.6154 MB / 0.5431 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.7072, allocations: 195.5 kB / 0.5433 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.7074, allocations: 166.4 kB / 0.5435 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-05/0.7075, allocations: 26.86 kB / 0.5435 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.7075, allocations: 41.58 kB / 0.5435 GB, free: 15.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 1.413e-06/0.7075, allocations: 0 / 0.5435 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.003148/0.7107, allocations: 0.6738 MB / 0.5442 GB, free: 15.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.7107, allocations: 55.41 kB / 0.5442 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.7108, allocations: 104.2 kB / 0.5443 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.7108, allocations: 27.7 kB / 0.5444 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.7109, allocations: 92.58 kB / 0.5444 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.711, allocations: 216.2 kB / 0.5446 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.7111, allocations: 49.06 kB / 0.5447 GB, free: 14.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.7113, allocations: 333.6 kB / 0.545 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.7114, allocations: 166.5 kB / 0.5452 GB, free: 14.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.7117, allocations: 215.7 kB / 0.5454 GB, free: 14.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.7121, allocations: 420.1 kB / 0.5458 GB, free: 14.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7121, allocations: 3.938 kB / 0.5458 GB, free: 14.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000511/0.7126, allocations: 454.4 kB / 0.5462 GB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7126, allocations: 8.094 kB / 0.5462 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7126, allocations: 4 kB / 0.5462 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7126, allocations: 4.125 kB / 0.5462 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.7127, allocations: 19.8 kB / 0.5462 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7127, allocations: 3.438 kB / 0.5463 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.7128, allocations: 27.67 kB / 0.5463 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.7128, allocations: 7.984 kB / 0.5463 GB, free: 13.68 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.0001183/0.7129, allocations: 125.4 kB / 0.5464 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.713, allocations: 23.84 kB / 0.5464 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.7135, allocations: 439.5 kB / 0.5468 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.7135, allocations: 15.3 kB / 0.5469 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7135, allocations: 0 / 0.5469 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7135, allocations: 0 / 0.5469 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.7138, allocations: 340.8 kB / 0.5472 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7138, allocations: 0 / 0.5472 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.7139, allocations: 11.98 kB / 0.5472 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7139, allocations: 0 / 0.5472 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.7139, allocations: 3.438 kB / 0.5472 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.7139, allocations: 7.938 kB / 0.5472 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7139, allocations: 4 kB / 0.5472 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.7145, allocations: 0.5364 MB / 0.5477 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.7146, allocations: 108.8 kB / 0.5478 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.7146, allocations: 0 / 0.5478 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.7147, allocations: 7.938 kB / 0.5478 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.7147, allocations: 3.984 kB / 0.5479 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.7147, allocations: 7.938 kB / 0.5479 GB, free: 12.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.979e-05/0.7148, allocations: 87.22 kB / 0.5479 GB, free: 12.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7148, allocations: 0 / 0.5479 GB, free: 12.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.7152, allocations: 97.23 kB / 0.548 GB, free: 12.22 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.001572/0.7168, allocations: 1.322 MB / 0.5493 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.7174, allocations: 430.4 kB / 0.5497 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7174, allocations: 4 kB / 0.5497 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.7176, allocations: 244.9 kB / 0.55 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/0.7185, allocations: 136.2 kB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.7196, allocations: 0.6545 MB / 0.5507 GB, free: 9.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.72, allocations: 0.7661 MB / 0.5515 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.608e-05/0.7201, allocations: 20.64 kB / 0.5515 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.7202, allocations: 75.41 kB / 0.5516 GB, free: 8.656 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.7202, allocations: 3.938 kB / 0.5516 GB, free: 8.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03844/0.7586, allocations: 11.86 MB / 0.5632 GB, free: 12.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.045/9.804, allocations: 7.906 kB / 0.5632 GB, free: 12.87 MB / 414.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_Misc_RhoSmoothing.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.039152298122644] Failed to read output from testmodel.py, exit status != 0: 10.094041103962809 10.113659043 9.406606685 Calling exit ...