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.001427/0.001427, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001561/0.001561, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 8 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.01337/0.01337, allocations: 2.805 MB / 315.2 MB, free: 324 kB / 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.002014/0.002014, allocations: 71.88 kB / 438.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09865, allocations: 54.18 MB / 492.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.02368/0.1223, allocations: 19.16 MB / 0.5 GB, free: 4.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.126, allocations: 3.534 MB / 0.5035 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1261, allocations: 4 kB / 0.5035 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007661/0.1269, allocations: 306.3 kB / 0.5038 GB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.1271, allocations: 79.31 kB / 0.5039 GB, free: 256 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2074/0.3345, allocations: 0.5922 MB / 0.5044 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.3347, allocations: 185.4 kB / 0.5046 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.3348, allocations: 10.55 kB / 0.5046 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.3349, allocations: 53.78 kB / 0.5047 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.335, allocations: 66.81 kB / 0.5047 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.335, allocations: 4.969 kB / 0.5047 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3597/0.6947, allocations: 42.36 MB / 0.5461 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.6948, allocations: 17.91 kB / 0.5461 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.695, allocations: 85.41 kB / 0.5462 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.6965, allocations: 365.8 kB / 0.5466 GB, free: 15.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.6965, allocations: 7.688 kB / 0.5466 GB, free: 15.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6965, allocations: 0 / 0.5466 GB, free: 15.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.6965, allocations: 0 / 0.5466 GB, free: 15.49 MB / 398.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.000804/0.6974, allocations: 412.6 kB / 0.547 GB, free: 15.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6974, allocations: 12.03 kB / 0.547 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.976e-05/0.6975, allocations: 53.2 kB / 0.547 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.6976, allocations: 33.53 kB / 0.5471 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.6978, allocations: 126.8 kB / 0.5472 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.6978, allocations: 11.56 kB / 0.5472 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.6978, allocations: 11.69 kB / 0.5472 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.6982, allocations: 244 kB / 0.5474 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6982, allocations: 0 / 0.5474 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6982, allocations: 3.625 kB / 0.5474 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.6982, allocations: 13.92 kB / 0.5474 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.6985, allocations: 286.4 kB / 0.5477 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.6993, allocations: 0.597 MB / 0.5483 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.6995, allocations: 206.4 kB / 0.5485 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.6997, allocations: 182.1 kB / 0.5487 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.737e-05/0.6998, allocations: 26.64 kB / 0.5487 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.093e-05/0.6998, allocations: 34.56 kB / 0.5487 GB, free: 13.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 1.674e-06/0.6998, allocations: 0 / 0.5487 GB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.003436/0.7033, allocations: 0.7125 MB / 0.5494 GB, free: 13.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.7033, allocations: 55.41 kB / 0.5495 GB, free: 13.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.7034, allocations: 111.8 kB / 0.5496 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.7034, allocations: 25.7 kB / 0.5496 GB, free: 13.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.7035, allocations: 88.66 kB / 0.5497 GB, free: 13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.7036, allocations: 210 kB / 0.5499 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.7037, allocations: 49 kB / 0.5499 GB, free: 12.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7039, allocations: 334.6 kB / 0.5503 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.704, allocations: 175.6 kB / 0.5504 GB, free: 12.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.7042, allocations: 226.5 kB / 0.5506 GB, free: 12.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.7047, allocations: 453.1 kB / 0.5511 GB, free: 11.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7047, allocations: 0 / 0.5511 GB, free: 11.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000577/0.7053, allocations: 468.6 kB / 0.5515 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.7053, allocations: 12.09 kB / 0.5515 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.7053, allocations: 0 / 0.5515 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.7053, allocations: 7.938 kB / 0.5515 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.7054, allocations: 14.8 kB / 0.5516 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.7054, allocations: 4.141 kB / 0.5516 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007955/0.7062, allocations: 35.61 kB / 0.5516 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.7062, allocations: 4 kB / 0.5516 GB, free: 11.29 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.0001236/0.7064, allocations: 124.9 kB / 0.5517 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.7064, allocations: 15.86 kB / 0.5517 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.707, allocations: 463.3 kB / 0.5522 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.707, allocations: 15.92 kB / 0.5522 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.707, allocations: 0 / 0.5522 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.707, allocations: 0 / 0.5522 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.7074, allocations: 319.5 kB / 0.5525 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7074, allocations: 0 / 0.5525 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.7075, allocations: 11.28 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7075, allocations: 0 / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.7075, allocations: 0 / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.7075, allocations: 3.938 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7075, allocations: 8 kB / 0.5525 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.7081, allocations: 0.551 MB / 0.5531 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.7081, allocations: 27.73 kB / 0.5531 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.7082, allocations: 0 / 0.5531 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.7082, allocations: 11.92 kB / 0.5531 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.7083, allocations: 4.188 kB / 0.5531 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.7083, allocations: 4 kB / 0.5531 GB, free: 9.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.897e-05/0.7083, allocations: 87.25 kB / 0.5532 GB, free: 9.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7083, allocations: 3.75 kB / 0.5532 GB, free: 9.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004346/0.7088, allocations: 107.7 kB / 0.5533 GB, free: 9.488 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.001623/0.7104, allocations: 1.351 MB / 0.5546 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005757/0.711, allocations: 452.9 kB / 0.555 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.711, allocations: 4.188 kB / 0.555 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.7112, allocations: 251.1 kB / 0.5553 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/0.712, allocations: 136.2 kB / 0.5554 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.7133, allocations: 0.668 MB / 0.5561 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.7138, allocations: 0.77 MB / 0.5568 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.7139, allocations: 24.58 kB / 0.5568 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.714, allocations: 71.41 kB / 0.5569 GB, free: 5.742 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.714, allocations: 4 kB / 0.5569 GB, free: 5.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.7564, allocations: 12.51 MB / 0.5691 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.48, allocations: 3.156 kB / 0.5691 GB, free: 9.359 MB / 414.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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: 17.739658564096317] Failed to read output from testmodel.py, exit status != 0: 12.811948264017701 12.836541979 12.135676826 Calling exit ...